Re: [Orgmode] footer for latex export

2010-07-19 Thread Buck Brody
Thanks.

On Mon, Jul 12, 2010 at 1:57 PM, Nick Dokos nicholas.do...@hp.com wrote:
 Buck Brody buckbr...@gmail.com 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




___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] footer for latex export

2010-07-12 Thread Buck Brody
I am just getting started with LaTeX.  I can't seem to figure out how
to add a footer to my document.

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] footer for latex export

2010-07-12 Thread Nick Dokos
Buck Brody buckbr...@gmail.com 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



___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode