From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: Peter Salazar <cycleofsong@gmail.com>
Cc: org-mode <emacs-orgmode@gnu.org>
Subject: Re: in LaTeX, how to start page numbering after TOC?
Date: Thu, 23 Jan 2014 08:26:39 +0000 [thread overview]
Message-ID: <8761pb9k8w.fsf@ucl.ac.uk> (raw)
In-Reply-To: <CAE+_6TxJu=QcR8v2DEHtgyGA+h-HWKSU+3OGc8J7e0sJxx5ycw@mail.gmail.com> (Peter Salazar's message of "Thu, 23 Jan 2014 00:43:23 -0500")
Peter Salazar <cycleofsong@gmail.com> writes:
> In export to LaTeX/PDF, has anyone had success in suppressing page
> numbering on the cover page and the Table of Contents, such that the first
> text section appears as Page 1?
>
> I tried adding this at the beginning of my document, but it had no effect:
>
> #+LATEX_CMD: \cleardoublepage
> #+LATEX_CMD: \pagestyle{headings}
> #+LATEX_CMD: \setcounter{page}{1}
> #+LATEX_CMD: \pagenumbering{arabic}
I don't know the CMD specification. You probably should use
#+LATEX_HEADER instead.
Regardless, the issue is that those LaTeX commands affect the
/following/ pages only. To change the style for the /current/ page, in
LaTeX, you need to use \thispagestyle as well as \pagestyle. You
probably should not have the cleardoublepage command either.
HTH,
eric
--
: Eric S Fraga (0xFFFCF67D), Emacs 24.3.1, Org release_8.2.4-322-gece429
prev parent reply other threads:[~2014-01-23 9:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-23 5:43 in LaTeX, how to start page numbering after TOC? Peter Salazar
2014-01-23 8:26 ` Eric S Fraga [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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8761pb9k8w.fsf@ucl.ac.uk \
--to=e.fraga@ucl.ac.uk \
--cc=cycleofsong@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.