Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Yes i think better or clearer documentation for latex styling would be nice and some examples.</p> <p>Here is a question on the sphinx mailing list, which is about about using packages.</p> <p>sphinx has its own latex documentclass in a file called sphinxmanual.cls or sphinxhowto.cls, if i remember correctly its a report documentclass that is used as base. then there is 2 style files, which are the packages, it is those files contents that are called on when you write \usepackage{mylatexstilefile}</p> <p>Question about using latex packages <a href="http://groups.google.com/group/sphinx-dev/browse_thread/thread/890dab5e53fff004" rel="noreferrer">http://groups.google.com/group/sphinx-dev/browse_thread/thread/890dab5e53fff004</a></p> <p>Here is my conf.py.</p> <pre><code>preamb_old = ur''' %\documentclass{memoir} \makeatletter \fancypagestyle{normal}{ \fancyhf{} \fancyfoot[LE,RO]{{\py@HeaderFamily\thepage}} \fancyfoot[LO]{{\py@HeaderFamily\nouppercase{\rightmark}}} \fancyfoot[RE]{{\py@HeaderFamily\nouppercase{\leftmark}}} \fancyhead[LE,RO]{{\py@HeaderFamily \@title}} % here's the change \renewcommand{\headrulewidth}{0.4pt} \renewcommand{\footrulewidth}{0.4pt} } \makeatother %\color {blue} %\normalcolor {dark blue} \pagecolor [RGB]{255, 247, 226} \definecolor{VerbatimColor}{rgb}{0.95,0.85,0.65} \definecolor{VerbatimBorderColor}{rgb}{0.5,0.95,0.1} ''' f = open('graph/static/latexstyling.tex', 'r+') PREAMBLE = f.read(); latex_elements = { 'papersize':'a4paper', 'pointsize':'11pt', 'classoptions': ',openany', 'babel': '\\usepackage[english]{babel}', 'preamble': PREAMBLE } </code></pre> <p>i don't use preamble_old anymore, but it is an example of changes directly in conf.py, to your latex preamble.</p> <p>Check out latex_elements and latex_additional_files in the sphinx docs as a starting point.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload