Am 20.07.2010 16:57, schrieb slafs:
> Hi there!
> 
> Currently sphinx generates me a pretty pdf through
> 
>> make latex
> and
>> make all-pdf
> 
> What I'm looking for is a way of customizing the header which now is a
> concatenation of
> project_name + ", " + release
> 
> Can I somehow declare my own header or footer in there?

Yes; currently the header line is defined like this in sphinx.sty:

    \fancyhf{}
    \fancyfoot[LE,ro]{{...@headerfamily\thepage}}
    \fancyfoot[lo]{{...@headerfamily\nouppercase{\rightmark}}}
    \fancyfoot[re]{{...@headerfamily\nouppercase{\leftmark}}}
    \fancyhead[LE,ro]{{...@headerfamily \...@title, \...@release}}

You can customize this is latex_elements['preamble'] by using
these commands again (between \makeatletter and \makeatother).

Georg

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To post to this group, send email to sphinx-...@googlegroups.com.
To unsubscribe from this group, send email to 
sphinx-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en.

Reply via email to