From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: footer for latex export Date: Mon, 12 Jul 2010 16:57:17 -0400 Message-ID: <14147.1278968237@alphaville.usa.hp.com> References: Reply-To: nicholas.dokos@hp.com Return-path: Received: from [140.186.70.92] (port=55713 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OYQ41-0004PI-FS for emacs-orgmode@gnu.org; Mon, 12 Jul 2010 16:57:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OYQ40-0000wE-7W for emacs-orgmode@gnu.org; Mon, 12 Jul 2010 16:57:21 -0400 Received: from g6t0186.atlanta.hp.com ([15.193.32.63]:3824) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OYQ40-0000w3-4P for emacs-orgmode@gnu.org; Mon, 12 Jul 2010 16:57:20 -0400 In-Reply-To: Message from Buck Brody of "Mon, 12 Jul 2010 12:50:24 PDT." List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: buckbrody@gmail.com Cc: nicholas.dokos@hp.com, emacs-orgmode Buck Brody 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