emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] footer for latex export


From: Buck Brody
Subject: Re: [Orgmode] footer for latex export
Date: Mon, 19 Jul 2010 09:41:26 -0700

Thanks.

On Mon, Jul 12, 2010 at 1:57 PM, Nick Dokos <address@hidden> wrote:
> Buck Brody <address@hidden> wrote:
>
>> I am just getting started with LaTeX.  I can't seem to figure out how
>> to add a footer to my document.
>>
>
> I don't think that orgmode provides built-in support for this, but it
> does provide mechanisms so that you can do it by hand. The most flexible
> header/footer package that I know of is fancyhdr by Piet van Oostrum:
>
>  http://www.tex.ac.uk/tex-archive/macros/latex/contrib/fancyhdr/
>
> which provides for 3-part headers and footers with a lot of flexibility.
> The PDF doc in the above directory describes it all in clear detail.
>
> Here is a (fairly rudimentary) attempt to do that in an org-mode file:
>
> --8<---------------cut here---------------start------------->8---
> #+LATEX_HEADER: \usepackage{fancyhdr}
> #+LATEX_HEADER: \pagestyle{fancy} \renewcommand{\headrulewidth}{0pt} \lhead{} 
> \chead{} \rhead{} \lfoot{} \cfoot{Centered footer} \rfoot{}
> #+LaTeX: \thispagestyle{fancy}
>
> * Foo
>
> bar
>
> * Foo2
>
> bar2
>
> #+LaTeX: \newpage
>
> * Foo3
>
> bar3
>
>
> --8<---------------cut here---------------end--------------->8---
>
> whose only effect is to replace the default centered page number
> by the string "Centered footer".
>
> HTH,
> Nick
>
>
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]