emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Buck Brody <buckbrody@gmail.com>
To: "nicholas.dokos" <nicholas.dokos@hp.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: footer for latex export
Date: Mon, 19 Jul 2010 09:41:26 -0700	[thread overview]
Message-ID: <AANLkTil68GwfRkkoOseD9MSLt1qeixCmrtA01PhAtxNQ@mail.gmail.com> (raw)
In-Reply-To: <14147.1278968237@alphaville.usa.hp.com>

Thanks.

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

      reply	other threads:[~2010-07-19 16:41 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
2010-07-19 16:41   ` Buck Brody [this message]

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AANLkTil68GwfRkkoOseD9MSLt1qeixCmrtA01PhAtxNQ@mail.gmail.com \
    --to=buckbrody@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=nicholas.dokos@hp.com \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).