From mboxrd@z Thu Jan 1 00:00:00 1970 From: Buck Brody Subject: Re: footer for latex export Date: Mon, 19 Jul 2010 09:41:26 -0700 Message-ID: References: <14147.1278968237@alphaville.usa.hp.com> Reply-To: buckbrody@gmail.com Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=47057 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OatPI-0006uI-5A for emacs-orgmode@gnu.org; Mon, 19 Jul 2010 12:41:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OatPG-0004km-R4 for emacs-orgmode@gnu.org; Mon, 19 Jul 2010 12:41:32 -0400 Received: from mail-vw0-f41.google.com ([209.85.212.41]:40592) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OatPG-0004kL-Ne for emacs-orgmode@gnu.org; Mon, 19 Jul 2010 12:41:30 -0400 Received: by vws1 with SMTP id 1so5292512vws.0 for ; Mon, 19 Jul 2010 09:41:26 -0700 (PDT) In-Reply-To: <14147.1278968237@alphaville.usa.hp.com> 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: "nicholas.dokos" Cc: emacs-orgmode Thanks. On Mon, Jul 12, 2010 at 1:57 PM, Nick Dokos wrote: > Buck Brody wrote: > >> I am just getting started with LaTeX. =A0I 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: > > =A0http://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} \lhe= ad{} \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 > > >