Tagged Questions

{page-numbering} is about how (La)TeX numbers pages and how page numbering can be influenced.

learn more… | top users | synonyms (1)

43
votes
3answers
75k views

How to suppress page number?

I've made myself custom title-page, put it in separate .tex file and when I input it, it is numbered with 1. The very next page is numbered with 1 also, and page-number increases on the following ...
1
vote
1answer
1k views

Glossaries package and pagenumbering

I am using the glossaries package to maintain an Acronyms list and a Glossary. My problem is that the Acronyms list is too big. Currently it is occupying 2 pages. The first page is numbered as vi, ...
1
vote
3answers
738 views

Oldstyle (arabic) numbers in headings remove roman pagination

Using the following code to get oldstyle (arabic) numbers in the headings make the preamble page numbers (in roman) to disappear. Here's a minimal working example: \documentclass{book} ...
6
votes
3answers
4k views

Correctly skipping pages for page numbering

I have a book I'm laying out in pdflatex. The page numbers are on the outer corners of the pages (along with some other header and footer stuff.) Occasionally, the document has a full-page image ...
13
votes
1answer
7k views

removing page numbers, but not headers

In my \documentclass{article}, I would like the last few pages (in essence appendix) to be without numbers, but retain the header (\thispagestyle{empty}) is so out of the question). Is there a way to ...
6
votes
1answer
8k views

How to 'center' 'page number' in beamer slides

When inserting page numbers into beamer slides, I usually use: \setbeamertemplate{footline}[page number] Then the page numbers will appear at bottom right. Is it possible to put the page numbers ...
2
votes
1answer
6k views

How to insert “footline”-style page number into “headline”

When inserting page numbers into beamer slides, I usually use: \setbeamertemplate{footline}[page number] Is it possible to do this for headline, something like: \setbeamertemplate{headline}[page ...
20
votes
6answers
9k views

If Then Else for odd page/even page

How to use if-then-else structure in LaTeX? I need a example of odd and even page. if odd then command 1 else command 2
16
votes
4answers
491 views

Reverse page numbering

How can one make LaTeX print the pages numbering in reverse order, in the sense that if the document in question has N pages then the first page is numbered N, then N-1, ...?
2
votes
1answer
448 views

How do I combine formatted page numbers in an index

If I format page numbers in an index, they show up in addition to non-formatted numbers. This minimal example: \documentclass{article} \usepackage{makeidx} \makeindex \begin{document} page 1 ...
12
votes
3answers
643 views

Setting Initial Page number on command-line

I would like to typeset a LaTeX file and set the initial page number from the command line (as I need to often change it to merge with different documents). I thought that the following would work, ...
4
votes
2answers
1k views

How do I add a Page X of Y in a KOMA-script class?

I saw the answers to a similar question, but the accepted answer won't take effect in a KOMA-script class. \usepackage{lastpage} ... \cfoot{\thepage\ of \pageref{LastPage}} I am using scrartcl ...
4
votes
2answers
953 views

How to change the position of the page number in the first page of every chapter of a book?

I am using the book.cls and I want that the page number of the first page (only the first page) of every chapter be at the bottom and on the right. And page numbering of the other pages remain intact. ...
29
votes
6answers
3k views

How to use \pageref{foo} as a number?

What I want to do is to show a "progress bar" in the header to show how far you are in the document, by making a rule with width pagenumber divided by total pages times the paper width. This is what ...
16
votes
5answers
7k views

LaTeX Beamer: How to get distinct page numbers when using overlays?

The question When I create slides for presentations in LaTeX with the Beamer class, I like to use constructions with overprint like this: \begin{frame} \begin{block}{} \begin{itemize} ...
4
votes
1answer
1k views

Roman numerals in frontmatter are skipping some numbers

I have the following document: \documentclass{article} \usepackage{titling, graphicx} \title{Title goes here} \author{Authors go here} \date{} \begin{document} \include{title} \pagenumbering{Roman} ...
7
votes
4answers
5k views

How to change the formatting/font of page numbers?

So, I'm using the article class, and I'd like to make the page number smaller, and set it in a different font. I don't need to create a new pagestyle, necessarily, and I'm hesitant to do so without ...
1
vote
1answer
650 views

How do I make my pdf Page1 correspond to my Latex Page 1

In my pdf, I have my initial pages for the intro and TOC in roman numerals, and the pages for the main content in arabic numbers, and I'd like for page 1 of the PDF as shown in Acrobat to correspond ...
5
votes
1answer
10k views

Removing page number from ToC

How to remove the page number from the table of contents page?
5
votes
3answers
2k views

Appendices in PDF Outline appear as childs of last section

I'm using the following general outline in book class: \mainmatter \include{introduction} \part{...} \include{chapter1} ... \part{...} ... ...
25
votes
7answers
9k views

Beamer frame numbering in appendix

I have a beamer presentation in which I have some additional slides in an appendix. The additional slides are only there in case someone asks a specific question; I won't necessarily have to use any ...
11
votes
1answer
2k views

Changing page number location

I need to do the following: For the first page of every section, the page number should be at the bottom and centered. The text should stop one "double space" above it. For all other pages, the ...
34
votes
2answers
32k views

removing page number for title page

I'm using titlepage to create a title/abstract page for a paper, and I don't want a page number to appear, so I use the following fragment: \begin{titlepage} \clearpage\thispagestyle{empty} ...
15
votes
3answers
6k views

Roman numeral numbering for introductions

Is there a way to automatically use roman numeral numbering for introduction pages and introductory tables, which would then switch to arabic numerals for the rest of the document?
75
votes
7answers
21k views

How can I add “page # of ##” on my document?

I want to add a footer to my document displaying the current number out of total number of pages. How do I do that?