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

learn more… | top users | synonyms (1)

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 ...
62
votes
7answers
17k 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?
49
votes
1answer
107k 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 ...
44
votes
3answers
1k views

How to suppress page 13?

A lot of buildings have no 13th floor, some planes have no 13th row etc. How do I set up a document that automatically suppresses page 13, figure 13, chapter 13 and so on, say, by jumping the ...
42
votes
7answers
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 ...
37
votes
2answers
60k 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 ...
32
votes
1answer
27k 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} ...
27
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 ...
24
votes
3answers
486 views

special circled frame number in beamer

Is it possible to customize frame number like figure below?
24
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
4answers
582 views

duodecimal page number

I would like to have page numbers in my document written in base 12. Here's an MWE \documentclass[12pt]{article} \usepackage[paperheight=1.8in, textheight=0.8in]{geometry} ...
23
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 ...
23
votes
3answers
510 views

How do I put a die roll at the top of each page?

I was thinking about a trick I heard of in old RPG books and wondered how you would do it in LaTeX. So it used to be hard to find RPG dice in stores (That is, dice with 4, 6, 8, 10, 12 and 20 sides. ...
20
votes
3answers
267 views

Chart showing the relative number of pages in the document

I'm playing with the idea of adding a chart in the begining of my thesis, showing the relative dimension of each chapter (or section, maybe). This is something that I would want to generate ...
19
votes
3answers
1k views

Page Numbering: Prime Numbers

I'm writing a project and would like each of my pages be numbered in terms of primes. That is, rather than 1,2,3,..., I'd like 2,3,5,.... I managed to find the following three pages: How do i make ...
18
votes
3answers
442 views

Stable alternative to \thepage

As I read and found out the command \thepage doesn't always output the correct page number. The proposed alternative is to use \pageref{here}\label{here}. But this seems too unhandy, because I have ...
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 ...
18
votes
1answer
317 views

Unusual numbering: combine alph, Alph, arabic

I would like to have an unusual numbering aAa going as follows: 0 -> * ------------------------- 1 -> a 2 -> b ... 25 -> y 26 -> z ------------------------- 27 -> A 28 -> B ...
17
votes
2answers
9k views

Suppress page numbers in article documentclass

I want to suppress page numbers. I am also using \maketitle command which seems to trigger the problem. MWE: \documentclass[a4paper,10pt,english]{article} \title{My title} \begin{document} ...
17
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 ...
16
votes
6answers
8k 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
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 ...
16
votes
4answers
1k views

How to determine current page number?

I am adding entries to bookmarks and I want one entry to point to a specific page. However, I don't want to provide it's number, because it may change depending on contents modification before that ...
16
votes
4answers
471 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, ...?
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} ...
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 ...
14
votes
4answers
488 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 ...
14
votes
3answers
5k 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?
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
2answers
401 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 ...
13
votes
4answers
331 views

Automatically remove page number in one-page documents

I find LaTeX's choice of putting a page number in one-page documents stylistically odd, so I would like to suppress that behavior. I've previously done this manually, but it would be better to not ...
13
votes
1answer
169 views

Is it possible to specify page numbers that are words, e.g. “Title”?

I suppose this might also go on SuperUser, but I'm only interested in it insofar as implementing it in LaTeX, so I'll ask here. I feel certain that I've seen PDF's where the actual PDF page number of ...
13
votes
3answers
259 views

Rotate image according to pagenumber

For writing my master thesis I have an image in landscape that needs to be oriented correctly when it is eventually printed in a book. If the page with the image is on the left side (even page ...
13
votes
3answers
18k views

Roman numeral page numbering

I am writing a thesis that contains an abstract and acknowledgements page, but need to number the page numbers using Roman numerals. How would I do this? I don't want to include the title page but ...
13
votes
1answer
374 views

How can I achieve having logical page numbers shown in acrobat reader?

I am using (plain) TeX (not LaTeX or any other ...TeX). I want a pdf file made from my TeX-source/output that is able to have acrobat reader shown logical page numbers. My document’s preface page ...
12
votes
2answers
8k 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 ...
12
votes
3answers
624 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, ...
12
votes
4answers
641 views

Change the base of the numeration

In a document, is it possible to change the base in which the numeration is written? The default numeration is decimal, but I would like to use an octal or hexadecimal numeration for instance. Also, ...
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 ...
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" ...
12
votes
2answers
661 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 ...
12
votes
1answer
2k views

Page numbering at the top centre

I'm trying to place page numbering at the top centre (as required by submission guidelines at my university). It should be a very easy thing to do, but it seems impossible... I spent a day ...
12
votes
1answer
137 views

Custom “counter” as page number substitute

I'm trying to typeset a book, covering a world trip. Instead of standard page numbers, I want each page to correspond with a digit representing driven kilometers. Of course I can't manually set that ...
11
votes
2answers
13k 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.
11
votes
2answers
3k 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, ...
11
votes
2answers
1k views

How to make page numbering continuous after a second \mainmatter?

I am writing a document with multiple \mainmatters and \backmatters. The structure is basically: ... \mainmatter \backmatter ... \mainmatter \backmatter ... Is there a simple way of preventing ...
11
votes
2answers
6k views

Top right side page numbering

I want the numbers of pages to be placed at the top right side. I try to do it like this \documentclass[12pt]{article} \usepackage{fancyhdr} \begin{document} \lhead{} \chead{} \rhead{\thepage} ...
11
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 ...
11
votes
1answer
282 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 ...
11
votes
1answer
5k views

Forcing page numbers with IEEEtran

The IEEEtran document class is hiding page numbers from my document! Is it possible to force page numbers to appear in the document? EDIT: Sorry I should have mentioned that I am using conference ...