{page-numbering} is about how (La)TeX numbers pages and how page numbering can be influenced.
40
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 ...
37
votes
5answers
5k 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?
28
votes
6answers
5k 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 ...
24
votes
1answer
8k 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}
...
24
votes
1answer
30k 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 ...
22
votes
5answers
2k 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 ...
20
votes
3answers
402 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}
...
18
votes
1answer
186 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
...
16
votes
2answers
121 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 ...
15
votes
4answers
854 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 ...
15
votes
4answers
401 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, ...?
15
votes
1answer
721 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 ...
15
votes
2answers
16k 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 ...
14
votes
2answers
2k 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}
...
14
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 ...
14
votes
2answers
1k 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
2answers
283 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 ...
14
votes
3answers
5k 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}
...
13
votes
3answers
2k 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?
13
votes
1answer
145 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
2answers
2k 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 ...
12
votes
3answers
974 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 ...
12
votes
3answers
521 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
1answer
105 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
5answers
5k 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
1k 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 ...
11
votes
3answers
418 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, ...
11
votes
1answer
243 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
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 ...
10
votes
3answers
587 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" ...
10
votes
2answers
482 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 ...
9
votes
3answers
384 views
Different \section for odd and even pages
I would like to make the section titles look different on even and odd pages. I have the following MnWE with the trivial approach. The problem is that you don't know that your section header gets ...
9
votes
3answers
511 views
Stop page count before appendix
I'm trying to find a way to stop the page count in my report. So the count stops, then it comes to the appendix. Then have a separate count for the appendix, with the footer also changing so when the ...
9
votes
2answers
6k 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
292 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?
9
votes
2answers
505 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 ...
9
votes
1answer
220 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 ...
9
votes
2answers
286 views
PDF page references in TeX4ht generated html?
I'm using TeX4ht to make html and epub versions of documents that are also processed to pdf. I'm unclear on how to include some kind of visual page references in the html and epub that correlate to ...
8
votes
2answers
240 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.
8
votes
2answers
2k 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, ...
8
votes
2answers
140 views
Gobble page numbers
In my document I have 5 pages that consist of the chapter name. I want these pages not to have page numbers displayed and not to contribute to the page numbering.
This is what I am trying to achieve: ...
8
votes
2answers
259 views
Page numbering at top of page [duplicate]
Possible Duplicate:
How to customize headers and footers?
How would I put my name and the page on my CV just like the image below? I would like to do it like the image below from the 2nd ...
8
votes
1answer
173 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 ...
8
votes
3answers
997 views
How to change the page number from even to odd while keeping the page as verso?
I'm writing a two-sided document with a binding margin. For certain reasons, I need to change the page number at some point, so what used to be an even-numbered page is now odd-numbered. This makes ...
8
votes
1answer
4k 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 ...
8
votes
1answer
732 views
Roman Page Numbering for TOC in Article
I'm writing something with the article class, and I'd like to have the table of contents pages numbered with roman numerals, and in addition and most importantly: to have the arabic numbers reset ...
8
votes
1answer
777 views
Page Numbers and Margins
I am sure this is a very simple question, but here it goes.
I am writing a document (using the report document class) that requires one inch margins on the top and bottom of the page. I used the ...
8
votes
1answer
1k views
Document class for a simple one-page assignment
I'm looking for a LaTeX document class which would fit a simple one-page assignment with mostly text. I'd still want sections and subsections like those in article, but would like:
more vertical ...
8
votes
1answer
2k views
Customizing moderncv numbering pages style
So, I was doing something like this:
\cfoot{\color{color2}\itshape John~~Doe}
to get my name centered on bottom of each page. Now I'd like to have it in one line with page number. Now it looks like ...
8
votes
1answer
1k views
Prevent abstract environment to reset pagenumbering
I use \documentclass[12pt, a4paper]{report} for my thesis.
I have three parts, each with an abstract.
Whenever I put an abstract, the page numbering resets to 1.
I would like to continue with the ...
