From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: in LaTeX, how to start page numbering after TOC? Date: Thu, 23 Jan 2014 08:26:39 +0000 Message-ID: <8761pb9k8w.fsf@ucl.ac.uk> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56886) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W6Gds-0003nU-Jb for emacs-orgmode@gnu.org; Thu, 23 Jan 2014 04:32:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W6Gdk-0001iq-Fr for emacs-orgmode@gnu.org; Thu, 23 Jan 2014 04:32:08 -0500 Received: from va3outboundsmtppool1.messaging.microsoft.com ([157.55.133.163]:19592 helo=VA3EHSNDR002.bigfish.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W6Gdk-0001fz-BV for emacs-orgmode@gnu.org; Thu, 23 Jan 2014 04:32:00 -0500 In-Reply-To: (Peter Salazar's message of "Thu, 23 Jan 2014 00:43:23 -0500") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Peter Salazar Cc: org-mode Peter Salazar 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