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

learn more… | top users | synonyms (1)

64
votes
7answers
18k 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?
18
votes
2answers
1k views

Figures on left pages, text on right ones with class book, numbering only on right pages

My problem is that I would like to have either blank or figures on the left pages, and text on the right ones, with the numbering of the right pages to be 1,2,3,4,5 and not 1,3,5,7. It means, in a ...
19
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
11
votes
2answers
4k views

Section added by \addcontentsline on the wrong page

I am adding a section with the bibliography references by using \addcontentsline in order to add a link to the table of contents. Unfortunately the link in the table of contents links to a wrong page, ...
28
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 ...
90
votes
5answers
4k views

Put entire thesis on one A0 poster?

The question Is there any way to automatically scale and put an entire document on an A0 page? The thesis for which this is to be done is available as LaTeX code, as well as PDF output. Of course I ...
52
votes
1answer
115k views

No page numbering

I have two sections before the table of contents, for which I use the following code: \clearpage \thispagestyle{empty} \section*{RandomTitle} The problem is, that latex starts the page numbering ...
12
votes
1answer
2k views

Headers and page numbers in external borders

I am trying to recreate in *TeX the same aspect that you can see in the following picture showing a document that I created a while ago with MS Publisher. As you can see, page numbers are rendered ...
8
votes
4answers
464 views

Index is incorrectly listed in the table of contents

I have a large document with an index compiled through makeindex, and is included in my source .tex as follows: \cleardoublepage \phantomsection \addcontentsline{toc}{chapter}{Index} \printindex ...
42
votes
8answers
10k views

Add page and line numbers to a pdf

Is there any quick script to add page and line numbers to each page of a pdf document? 1) I often enough get articles in pdf to review, with no page number. I end up writing them by hand to refer to ...
32
votes
1answer
29k 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} ...
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} ...
9
votes
2answers
5k views

How to add a pagenumber of included PDF sides?

I'm creating a documentation with some included pdf files (mostly diagrams or tables) in the following way. \includepdf[pages=1-10, angle=90]{requirements/Requirements.pdf} The command ...
16
votes
3answers
3k views

Suppress page number for a single page that only contains one large table?

I have a large table that uses up the whole space on a page. Unfortunately, the table also covers the page number, which is shining through. I don't want to split the table across two pages, hence I ...
5
votes
4answers
2k views

how to remove page numbers from first page of chapters

My report requires page numbers to start from 1st chapter 1st page. So I use \pagenumbering{arabic} just before I do \include{tex_files/chapter1)Introduction} Now I want the page counting to ...
3
votes
3answers
6k views

How to force LaTeX to put even pages on the right hand side in documentclass article

In documentclass article I try to put even pages on the right hand side of a twoside document (unfortunatelly it is no option for me to change the document class). My point is to start with ...
25
votes
3answers
571 views

special circled frame number in beamer

Is it possible to customize frame number like figure below?
15
votes
2answers
2k views

Insert foldable A3 pages in an A4 document with active references

I am at the end of a big LaTeX document (my thesis) and I would like to insert A3 tables and figures in the Annexes (Supporting informations) section. These A3 pages would be foldable and ideally I ...
12
votes
2answers
14k views

Change starting page number

How I can start page numbering from 68 to 74 by using header and footer in latex instead of 1 to 7.
14
votes
2answers
3k views

Attached external pdf file is not showing page number

I am writing my thesis. I have a "main" LaTeX file from where I am calling (attaching) pdf file. But the attached pdf file is not showing any page number. Also, it is not showing other page style I ...
14
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?
12
votes
2answers
9k views

Table of Contents or TOC lines without page numbers

Is it possible to create a TOC (table of contents) with \sections and \subsections, but without the page numbers on the right hand side? I know this defeats the purpose of a TOC but for knowledge's ...
9
votes
1answer
435 views

What is going on with pgfpages and page labels?

I’m using a feature of beamer that shows notes beside slides, but the page numbers that are coming out are crazy, making it impossible to extract specific slides into other documents with ...
9
votes
2answers
5k views

Beamer, page/frame numbers, buttons and Appendix slides

I am using beamer and I have a slide in an Appendix section. I hyper-reference it with a button. The Appendix does not appear as a section itself. The Appendix material is at the end of the code. I ...
7
votes
2answers
4k views

Modifying the Page Numbers in the Table of Contents

Is there a way how I could make a section/chapter/any-heading which occurs on page x in my document to appear in the table of contents with the page x-1? (I am using scrbook) I'd like this result not ...
6
votes
1answer
2k views

Custom page numbering for appendix

For an appendix I want a page numbering which goes like A1, A2, ... How to do that? With \pagenumbering{...} I can only choose between arabic and roman numbering.
5
votes
1answer
242 views

How to find absolute page number as an integer?

Is there a simple way to retrieve an absolute page number from a label, where by absolute I mean counting all pages as integers sequentially starting from the first page of the document, without any ...
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{...} ... ...
12
votes
3answers
1k views

How can I calculate the difference of 2 counters (pageref)?

How can I calculate the difference between 2 counters (like page numbers), so that pdfLateX outputs "3" in the last line of my example? and how could I calculate the difference between the "current" ...
5
votes
2answers
2k views

Fancyhdr does not apply same header/footer on chapter and non-chapter pages

I have a problem with the fancy package: I use the report documentclass and I have a chapter, a lot of text and then a new page starting with a section (or the next page has no chapter starting on ...
4
votes
2answers
403 views

Problem with the numeration appearing in the table of contents

I have some trouble with the page numbers printed in the table of contents. I am writing a text in book class. In my text, I first print a table of contents with the commands \frontmatter ...
26
votes
3answers
6k views

Base document page numbers with pdfpages

I'm writing a report, in LaTeX. And I need to include, as appendices, other latex documents I have written. I am currently doing this using pdfpages and it works. However, the inserted PDF has no page ...
24
votes
7answers
8k 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 ...
40
votes
3answers
65k 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 ...
15
votes
2answers
413 views

Reversing page order from a point onward

In my document, I want pages from a specific point onward to appear in reverse page order, i.e. the last page should come first, then the penultimate page, etc. How can I do it? (I don't want to ...
15
votes
4answers
642 views

Show page number as a “percent complete”

I want to show in the page foot the current progress of the document. For example, if the document contains 200 pages, then I want the foot to show 11.5% in the page 23. Edit: I'm also interested the ...
9
votes
2answers
646 views

Page numbers vertically centered in the outer page margin

Even though it seems to be a non-standard position, I'd like to place my document's page numbers vertically centered in the outer page margin – i.e. where you usually have your thumb when you skim ...
8
votes
1answer
265 views

How do I have two sets of page numbers in a document?

I want to have two sets of page numbers (P and p) in my document. The first one (P) is global, the second one (p) resets to 1 at some predefined points. So, the document will look like, Text P1/5 ...
18
votes
1answer
1k views

Remove page number from index entries

My indexed terms are hyperlinks (to external files -- see question listed below), so the page numbers are really not useful information. Hece I would like to be able to remove the page number (and the ...
6
votes
3answers
637 views

Extract document statistics? - How many pages has chapter xy? Count fixmes?

I have a large pdflatex document where each chapter is located in an extra text file and included with \include{chapter3.tex} ... How can I extract the page numbers of each chapter and write them ...
6
votes
1answer
1k views

How to change the page numbers displayed in a pdf viewer?

I'd like to prepare a LaTeX file of a part of a larger volume, containing for example pages from 50 to 60. Is there a way to do it so that a pdf viewer does not display "1" but "50" on the first page ...
5
votes
2answers
5k views

Force page numbering on every page

I have a LaTeX report with title, abstract and the main part. I want to have numbers on every single page starting from the first. How do I do that? The way it is now is that the first page is not ...
13
votes
2answers
687 views

Automatically remove page number if document has only one page (but not if two)

I write a lot of documents (agreements) based on memoir with the article option. Normal pagestyleis plain (page number centered in the footer). Sometimes a document is only one page long, and a page ...
11
votes
1answer
285 views

Replace individual page numbers with mathematical expressions

I'd like to replace a few individual page numbers in a document with mathematical expressions, like $a^0$ for page 1, $2(2)^1$ for 4, etc. I don't have a ToC or index, so I'm not concerned about the ...
10
votes
1answer
319 views

How to know the number of pages in a PDF file?

I use graphicx to include pages of a PDF file. I want to know in LaTeX how many pages are in the file. How to do this?
6
votes
1answer
231 views

Page number when using includepdf

Can you recommend an easy way to place the page number on an imported PDF? For instance, when using: \includepdf[fitpaper=true]{last_site/last_site.pdf} \includepdf was used twice because the code ...
6
votes
3answers
334 views

Page numbering in the middle of a line

How can I set up a document to write the page numbering in the middle of a line? Through fancy pagestyle I've got a situation like the following one: --------------------- % this is a line after the ...
6
votes
2answers
7k views

Page numbering - removing page number from first page

How do you turn off page numbering from the first page in a LaTeX document?
5
votes
2answers
405 views

The numbering of exercises automatically on table

I have several hundred exercises in form \begin{exercise} \end{exercise} where each one is a small own file. I input those through \input{...} on master documend. I have done some other ...
4
votes
1answer
121 views

Page numbering transition from frontmatter to mainmatter going wrong

My problem is already stated here, but I don't have enough reputation to comment on it :-/ I want to know if there are any fixes or solutions to the problem with the hepthesis class? The last page of ...