From: Nick Dokos <nicholas.dokos@hp.com>
To: buckbrody@gmail.com
Cc: nicholas.dokos@hp.com, emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: footer for latex export
Date: Mon, 12 Jul 2010 16:57:17 -0400 [thread overview]
Message-ID: <14147.1278968237@alphaville.usa.hp.com> (raw)
In-Reply-To: Message from Buck Brody <buckbrody@gmail.com> of "Mon, 12 Jul 2010 12:50:24 PDT." <AANLkTinQkjMazTF5mJtJD_RMl1vlzVX67u5JDfnh0J9U@mail.gmail.com>
Buck Brody <buckbrody@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
next prev parent reply other threads:[~2010-07-12 20:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-12 19:50 footer for latex export Buck Brody
2010-07-12 20:57 ` Nick Dokos [this message]
2010-07-19 16:41 ` Buck Brody
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=14147.1278968237@alphaville.usa.hp.com \
--to=nicholas.dokos@hp.com \
--cc=buckbrody@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.