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

learn more… | top users | synonyms (1)

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
1answer
148 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
2k 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
1answer
290 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

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 ...
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
2answers
794 views

Page number in Fibonacci style

How to display the page number in Fibonacci. Example: Normal page number 1, 2, 3, 4, 5, 6, 7, 8,... Fibonnacci page number style: 1, 1, 2, 3, 5, 8, 13, ...
10
votes
3answers
4k views

How to prevent page numbers from appearing on glossaries?

I am using the glossaries package to make a glossary. However I don't want the page numbers where the entry is referenced to be shown after the description in the glossary. How can I do that? Actually ...
10
votes
1answer
325 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?
10
votes
1answer
4k views

Landscape and page numbers with pdfpages

I am using pdfpages to insert PDFs into a master file. Some of the PDFs are portrait and some are landscape. I am using pagecommand=\thispagestyle{plain} so that the page numbers are in sequence ...
10
votes
2answers
345 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 ...
9
votes
3answers
526 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
2answers
9k views

Page numbering - removing page number from first page

How do you turn off page numbering from the first page in a LaTeX document?
9
votes
3answers
1k 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
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 ...
9
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 ...
9
votes
1answer
27k views

How to set page counter by skipping first page? [duplicate]

Possible Duplicate: No page numbering I am working on numbering on page. I already got reply for my previous question. How to set page counter in mdframed as footer? But i want to skip ...
9
votes
2answers
685 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 ...
9
votes
1answer
4k views

Avoiding page numbers in empty pages? [duplicate]

Possible Duplicate: How to remove head- and footlines for pages between chapters? I have empty pages in my document, many created using \cleardoublepage. I want the page number not to ...
9
votes
2answers
723 views

OldStyle Numbers in Body Text Only—Lining Numbers Otherwise

My main font numbers are set to OldStyle. How can I set Lining numbers for: Titles (chapter, section, subsection, &c...), Beginning of enumeration, Page number, and Footnote numbers (but not ...
9
votes
1answer
4k 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 ...
9
votes
2answers
666 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
2answers
168 views

Using totcount with lastpage

My goal is to achieve n of m type page numbering if the document has more than 1 page and no page numbers otherwise. I have no problem putting n of m page numbers thanks to How can I add "page # ...
9
votes
3answers
1k views

Preserve page numbering in fancyhdr

I'm using the fancyhdr package to include a header on each page. In order to surpress the section title also being cited in the header of each page, I'm using the command \fancyhf{}, however this also ...
9
votes
2answers
653 views

Get page numbering & page count of a given style

Given a set of page styles, for example plain and butter, in the memoir class how can get the page number and count for that given style? This seems like something that would already have been ...
9
votes
1answer
2k 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 ...
9
votes
4answers
71 views

Remove numbering from a table page, not in landscape

I have a very long table that should stay in portrait. I'm having trouble removing numbering on the page where the table shows up. I tried putting \thispagestyle{empty} and the whole table in a ...
9
votes
1answer
505 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
1answer
1k views

Frame Numbers in Beamer's Article Mode

I'm using the beamer package to create a presentation. Additionally I'd like to have a handout containing more information (as presentation slides should not contain much text). For this I use the ...
9
votes
1answer
844 views

How to force a page to be odd

How can one trick LaTeX to believe that a given page is odd instead of even? Or alternatively call the odd-page header in a previously defined pagestyle? ...
8
votes
2answers
3k views

Problem‎ with redefining \chapter{…} command‎

I want to change the definition of \chapter[...]{...} ‎to‎ \chapter[...]{...‎}‎‎‎\thispagestyle{empty}‎‎.‎ To do this, I'm using the code ‎below:‎ \documentclass{book} \let\origchapter\chapter ...
8
votes
4answers
489 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 ...
8
votes
3answers
12k views

How to insert page number in Beamer Navigation Bars?

I created a presentation with Beamer, and I used Darmstadt theme. But, this theme doesn't have the page number. I know that I can insert the page number in Footline with: ...
8
votes
1answer
184 views

Page numbering 143/141

I have a large latex document, compiled with pdflatex. When it compiles (I compile twice, I have tried compiling thrice) the page numbers come out as: 1/141 2/141 ... 142/141 143/141 On the bottom.It ...
8
votes
2answers
811 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
3k 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.
8
votes
2answers
4k 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 ...
8
votes
1answer
1k views

How to change page number location on ALL pages (including chapter pages) WITHOUT fancyhdr?

Question revised: What must I do to change the page number position on EVERY page (especially for chapters) WITHOUT using fancyhdr? Background and details: I've searched now for many, many hours ...
8
votes
1answer
277 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
2k 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
5answers
1k views

How do I use locale numbering for page numbers, footers etc.?

I am new to LaTeX and was wondering if it is possible to use another language for page numbers (and any other automatic numbering). I read here: http://www.personal.ceu.hu/tex/pagestyl.htm ...
8
votes
1answer
7k views

Include Page Number in Abstract

I'm trying to include a page number on my abstract page. Here is how I have it set up so far (cutting out some extra things): \documentclass[letterpaper,12pt]{report} ...
8
votes
2answers
2k views

Sideways figure with rotated page number

The submission requirements require that any landscaped image have the page number on the 11" side of the page, at the bottom and centered. I can't figure out how to do this. I'm using ...
8
votes
1answer
1k views

Index not linked properly in the navigation

I'm having troubles making Index visible in the navigation that is shown with the pdf preview of the document. Namely, the following is the end of my main .tex file: % Bibliography % ...
8
votes
1answer
2k views

Centered page numbers although set “twoside” option

Using article class and the twoside option still gives me the page numbers in the center of the page. Isn't the twoside option supposed to put the page numbers on the left in even pages and on the ...
8
votes
1answer
211 views

Where does Page number and Cont. come from

Please bear with me. I am a newbie to TEX. The following code creates page number at the top and Cont. at the bottom right of each page as you can see in the image. But I am not sure where these come ...
8
votes
1answer
110 views

BibTeX writes “pages” where it should be “page”

In a book I'm citing, the pages are numbered as following: X-Y, where X is the chapter number and Y is the number of the page in that chapter. For example, the fifth page of the third chapter would be ...
8
votes
1answer
6k 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
277 views

Should otherwise empty pages have page numbers? Why?

By default, with either the standard LaTeX classes or the KOMA-script classes, empty pages (such as may occur using \cleardoublepage) have no page numbers. Why is this? In my — unprofessional — ...
8
votes
1answer
347 views

a tikzpicture on pages without chapter and index

I would get the result of the output below \documentclass[11pt, a4paper]{book} \usepackage{geometry} \geometry{% papersize={19.7cm,27cm}, centering, textwidth=380pt, textheight=650pt} ...