Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

How can I use an independent page numbering in the appendix, either with Roman or Arabic numberals as page numbers?

(I.e. the first page of the appendix should start again with 1, as it is often done for the introduction and the main part of a long document, then typically using Roman numerals for the introduction.)

share|improve this question
    
@85: Which documenclass do you use? Most of them are providing the commands \frontmatter, \mainmatter and \backmatter to structure the main document. –  Marco Daniel Sep 8 '11 at 15:03
    
I'm using scrbook. And \backmatter before the appendix. –  fuenfundachtzig Sep 8 '11 at 17:00
    
@85: Have a look at the scrguide at page 100 or the English one scrguien page 80. –  Marco Daniel Sep 8 '11 at 17:10
add comment

2 Answers

up vote 4 down vote accepted

To (re)start the page numbering, you need to use the command \pagenumbering{}. In all LaTeX classes I'm aware of, the argument of this command can be arabic, roman, Roman, alph, or Alph.

To automate the process of having the page numbering restart when the document gets to the Appendix (or Appendices), you could include the following instruction in the preamble (using, for instance, lowercase-roman numerals):

\let\origappendix\appendix % save the existing appendix command
\renewcommand\appendix{\clearpage\pagenumbering{roman}\origappendix}
share|improve this answer
2  
You need also a \clearpage before \appendix. –  egreg Sep 8 '11 at 10:17
    
Thanks, egreg! I've inserted the \clearpage instruction. –  Mico Sep 8 '11 at 10:49
    
Using this including the suggested \pagenumbering{arabic}\renewcommand{\thepage}{App.~\arabic{page}} from a comment below now. –  fuenfundachtzig Sep 27 '11 at 7:31
    
i suggest using \pagenumbering infront of \clearpage, this way I can avaoid destination with the same identifier (name{page.1}) has been already used, duplicate ignored<to be read again> \relax l.7 \clearpage [1] when I use hyperref (note: also be sure to give your titlepage a different pagenumbering than your matter) –  ted Aug 3 '13 at 10:18
    
@ted - Did the OP mention or ask about hyperref? My answer was based on a lack of mention of hyperref... –  Mico Aug 3 '13 at 10:36
show 3 more comments

Use the \pagenumbering command:

\documentclass{article}

% only for testing
\usepackage[english]{babel}
\usepackage{blindtext}

\begin{document}
\blinddocument

\clearpage
\appendix
\pagenumbering{arabic}
\blinddocument

\clearpage
\pagenumbering{Roman}
\blinddocument
\end{document}

This command changes the numbering an resets the counter to 1, even if you’re switching vom arabic to arabic numbering.

share|improve this answer
1  
This won't work with \arabic numbering if hyperref is used; but using two identical page identifiers is bad practice anyway. –  egreg Sep 8 '11 at 10:23
    
@egreg: Maybe something like A.n is possible, n being the page number? –  fuenfundachtzig Sep 8 '11 at 11:27
3  
Yes: doing \pagenumbering{arabic}\renewcommand{\thepage}{A.\arabic{page}} keeps hyperref happy. –  egreg Sep 8 '11 at 12:12
3  
A page numbering style such as "A.\arabic{page}" might become very confusing if you have appendices numbered A, B, and C. To avoid any confusion about whether "A" pertains to "Appendix Section A" or to all appendix sections, it be better to have \renewcommand{\thepage}{App.~\arabic{page} instead... –  Mico Sep 8 '11 at 14:29
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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