1

I have a two-sided document with a few unnumbered introductory pages, and I want to start page numbering from 1 after these pages. To do that, I suppress page numbers with \pagenumbering{gobble}, and later start it with \pagenumbering{arabic}. However, this method screws up page numbering for things like fancyhdr and geometry's bindingoffset. As to the headers, I can easily circumvent that by swapping around the headers for odd/even pages, but I see no way of making bindingoffset work with it.

Is there a way to make bindingoffset use global page numbers for the whole document instead of the counter that LaTeX uses for \pagenumbering? If not, is there a better way to suppress and later start page numbering without messing up bindingoffset?

Thank you.

Minimal working example:

\documentclass{article}

\usepackage[twoside, bindingoffset=5mm]{geometry}
\usepackage{lipsum}

\begin{document}
\pagenumbering{gobble}
\lipsum[1-4]
\clearpage
\pagenumbering{arabic}
\lipsum[1-4]

\end{document}

I would like the second page (page number 1) to be correctly treated as a left page.

8
  • 1
    Be sure to add a \cleardoublepage before the pagenumbering-command. Also, be aware, that odd pages (1,3,5,...) are on right pages, even numbers (2,4,...) are on left pages.
    – Johannes_B
    Dec 5 '13 at 16:26
  • @Johannes_B Oh, sorry, I should have been clearer about this - my first numbered page is a left page, so I basically want bindingoffset to work the other way round in my case. That is why I want it to use global page numbers, which would make my document's page 1 have page number 4, for example.
    – sps
    Dec 5 '13 at 16:31
  • Can you show use some code in form of a minimal working example?
    – Johannes_B
    Dec 5 '13 at 16:35
  • Also, please have a look here. You can also use package showframe to see exactly, what is on your page (the marginpars are of interest here).
    – Johannes_B
    Dec 5 '13 at 16:47
  • 1
    And as already mentioned in my first comment, just add an \cleardoublepage before \pagenumberin{}
    – Johannes_B
    Dec 5 '13 at 17:07
2

In a twosided document, you need to tell LaTeX not only to clear a single page (\clearpage), but to clear a double page if necessary (\cleardoublepage).

\documentclass{article}

\usepackage[twoside, bindingoffset=5mm]{geometry}
\usepackage{lipsum}
\usepackage{showframe}

\begin{document}
\pagenumbering{gobble}
\lipsum[1-4]
\cleardoublepage
\pagenumbering{arabic}
\lipsum[1-4]

\end{document}

Please be aware, that an odd page in books is always on right handed pages, whereas even pages are on left handed pages. Using the book class, you could also use \frontmatter and \mainmatter. There are historical reasons for that. But in modern times using computers to typeset, there is really no need for different paginations anymore.

Since an article usually is a short document, I advice you to channge the documentclass.

2
  • Thank you for your help. This is a working solution, although I would also appreciate one where I can avoid having to add an empty page. Even if that means going against the 'rules' for page numbering.
    – sps
    Dec 5 '13 at 17:17
  • @sps If you don't want to have an empty page, don't change page numbering. If you change page numbering, issue \cleardoublepage first. I wouldn't like to see your works come out strange and naughty just because you wish to save one page :)
    – yo'
    Dec 5 '13 at 17:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.