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

learn more… | top users | synonyms (1)

114
votes
9answers
43k 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?
4
votes
2answers
18 views

How to center title in custom title?

Right now my title looks like this As you can see, the centering is a bit off. What I really would like it to look like is not have element 1 & element 3 and have "CS 2800" & "Homework 1" ...
2
votes
1answer
11 views

Remove page number on first page using fancyhdr

I am using fancyhdr and this is my preamble. The first page still has 1 in the footer while other pages have Page 2, Page 3 and so on. How to remove the 1 on the first page? ...
3
votes
2answers
106 views

How to get a page number of a section/subsection?

I have a document and I want to customise Contents of it, so I don't want to use \tableofcontents, instead of that I just want to get number of pages of sections and subsections and put them in to the ...
0
votes
1answer
31 views

Beamer: Frame Number in Header in Frankfurt Theme

I use the theme frankfurt in my beamer presentations. At the same time, I use \setbeamertemplate{footline}[frame number]in order to get frame numbers. In Frankfurtthe header is divided in two parts: ...
1
vote
2answers
22 views

Page numbering in pdf viewer for three different page numbering styles

I am using three page numbering styles which are Alpha, Roman and Arabic. I want my pdf viewer to display them as well and to jump to the first arabic numbered page when I enter '1' and not to the ...
0
votes
0answers
30 views

How to remove dots in front of appendix in table of contents?

It may this question be considered as a duplicate one, but it is not. Please read it then decide. I've spent lots of time to solve this annoying problem. I'm going to submit my thesis, but university ...
1
vote
1answer
29 views

How can I independently number figure pages?

I have a document where all the figures are put on separate pages (sometimes more than one figure to a page, which is fine). This is achieved using the \begin{figure}[p] option in the figure ...
2
votes
1answer
37 views

Wrong page number positioning in book document

I am writing a book document and I encountered a strange behaviour: whenever a page is left empty (for instance because it represents the end of a chapter) the page number is placed on the top-left ...
0
votes
0answers
35 views

Latex Page Number Top Right

\documentclass{article} \reversemarginpar % Move the margin to the left of the page \newcommand{\MarginText}[1]{\marginpar{\raggedleft\itshape\small#1}} % New command defining the margin text style ...
1
vote
1answer
18 views

Insert current page number inside `Exercise` environment

For a long question (set with \usepackage{exercise}) I'd like to print the current page number. But on the second page, it prints 1 (red number in the attached picture), while the automatic ...
3
votes
1answer
46 views

Customize page numbering in plain TeX (not LaTeX)

I would like to change the page numbering from the default 1, 2, ... to the corresponding symbols in my native language. I have the fonts and typesetting ready and just want to replace the page ...
5
votes
1answer
37 views

Get the number of pages in a chapter

Is there any way to call up the number of pages in a given chapter? I'm using the \chapter command to separate chapters, and I want to be able to write something like: Chapter 1 has [number of pages] ...
9
votes
1answer
214 views

Different page labels/numbering in PDF viewer

I am using the report class and would like to have front matter with a different numbering than the main matter. So I use Roman numbering at first and then Arabic numbering later on, but what I would ...
1
vote
1answer
114 views

glossaries: display `see` reference but not page numbers

I am trying to display the see cross references but not the page numbers in my document. I understood that it's impossible with the means provided by standard, so I tried to use ...
0
votes
2answers
24 views

How can I add the roman page number of abstract and acknowledgement into table of contents?

In a table of contents the page number first starts from the "Introduction" page. I want it to start from "Abstract" using \section not \chapter. How do I achieve that? \documentclass[11pt]{article} ...
2
votes
1answer
36 views

Page Numbers are displayed in reverse such as 21 for page 12 in ConTeXt MarkIV

I am trying to typeset a book in arabic in ConTeXt. I have stumbled upon this issue Page Numbers change after 9 to 01 for page 10 21 for page 12 31 for page 13 41 for page 14 and so on The issue ...
0
votes
0answers
34 views

How do I use /PageLabels with pdftex (not latex) and dvi output?

I want to correct the page labels in the pdf outline and in the page-number search box in the pdf viewer. I am using dvi output and converting via dvipdfmx. For latex, the hyperref package does this ...
2
votes
1answer
15 views

Page numbering issue when using package. '1' that cannot be removed on intro pages

Am using the package uclathes ( https://github.com/uclathes/uclathes ) to format my dissertation and to generate the intro pages. On the 1st, 3rd and 4th pages of the documents (title page, ...
0
votes
2answers
67 views

two title pages in the book without restarting the pagenumbering

\documentclass[11pt,twoside]{book} \input{Brillpreamble} \begin{document} \frontmatter \include{titleBrill} \include{abbrevBrill} \include{prefaceandintroBrill} \mainmatter \input{./title1.tex} ...
1
vote
1answer
44 views

multiple headers and pagination in a book

For some reason I get "Table of Contents" on every odd page. The other problem being the pagination which is reset after the second edition in the main matter. Help much appreciated. Here's the code ...
1
vote
1answer
54 views

How to remove page number at the first page and the blank page of each chapter?

I am at present typing a manuscript in WinEdt 8.0 and got stuck in the following page set up problem. Please help me out. Allow me to state the situation in short-details. The publisher demanded that ...
1
vote
1answer
107 views
0
votes
0answers
26 views

Change page number style and position in landscape mode [duplicate]

I have a document in which I use landscape environment but I also have many pages in vertical orientation. I want to do two things: -change numbering style from 1 2 3 to S1 S2 S3 for all pages -for ...
0
votes
0answers
26 views

Wrong position for page numbers in memoir + RTL

If I understand the verso-recto norms properly, page numbers should appear, both in LTR and in RTL documents, on the outer side of the pages, rather than in the inner side. This is explained in this ...
3
votes
1answer
43 views

Roman numbers in abstract of report class

I want to add roman page numbering to all the pages up to the end of the table of contents, apart from the title page. So I did the following, which works, apart from the fact that the abstract does ...
1
vote
1answer
79 views

roman numerals in page

Roman numerals in page numbers are required in the front matter of the thesis. But if I write \frontmatter in the ERT then on some pages the page numbers appear in roman numerals while on the others ...
1
vote
0answers
49 views

Page Numbers Resets to “0” at the Beginning of a Chapter [closed]

I've been looking to solve this problem for a while now. I use some custom document class that can be found here The page numbers reset itself at chapter 3 to "0". I used \hl{highlighted area} to ...
2
votes
1answer
47 views

Page numbers at the bottom in lyx

How to add page numbers at the bottom center of page in LYX? The page numbers are not coming properly. The document class is book. By adding the following code in preamble \usepackage{scrpage2} ...
0
votes
2answers
104 views

Page numbering error in table of contents

I'm preparing my thesis report. My table of contents starts from roman page number (iii) and has a total of 3 pages. But unfortunately the last page of toc shows page number (iii) again. Same is the ...
2
votes
4answers
88 views

Add frame and logo on all pages

I am not able to do both these commands at the same time. The both work separatly. I would also like to put page numbering at the bottom right of all pages. Any suggestions? \documentclass{article} ...
2
votes
1answer
35 views

How do I remove page numbers using revtex

I am writing my physics thesis in LaTex for the first time, using RevTex (APS) style formatting (code below). Unfortunately, the department is compiling all of the majors' papers into a single ...
2
votes
1answer
72 views

Alternating the footer on odd and even pages with memoir

I'm using the memoir class, which has the option to directly define what should be shown on odd and even pages, seperately. I want to put the page number on the left of the left pages, and on the ...
2
votes
1answer
37 views

How to know the number the last generated page?

I would like to replace \AtEndDocument{ \doSomething } by \AtEndDocument{ if (page == 1) { \doSomething } else { \doSomethingElse } } How can I know the index of the last page generated? ...
0
votes
0answers
30 views

In a custom documentclass, maintain chapter title headings but move page numbers to bottom

I am using a custom documentclass provided by my school for writing my thesis, which is a modification of the documentclass book. They also give a template, which includes the line ...
0
votes
1answer
18 views

Override a custom documentclass to put all page numbers at the bottom

I am using a documentclass provided by my school to write my thesis. I realize this question may not have an answer without my being able to understand what is written in that file but let me try ...
0
votes
0answers
14 views

Pagenumbers vanished (from the printed version) after adjusting margins

I'm using Lyx. I'm trying to set 2cm top and bottom margins, in "Page layout" I also selected A4 paper, because that's the paper size I use (and without it the printed margins were not the right ...
1
vote
0answers
19 views

Page number locations are different for chapter and non-chapter pages [duplicate]

I am working on my thesis using a template provided by my school. I did not change any formatting of the template. However, the pdf has one problem, on the first page of a chapter, the page number is ...
2
votes
1answer
115 views

Getting the real page number of a minipage

I am having trouble getting the 'real' page number of a minipage which is in a section. Sometimes it is off by one. I am trying to pass the page number and position in mm of the box (it's in an \fbox) ...
6
votes
1answer
61 views

Set page counter to account for implicit omitted pages

I recently added an etoolbox toggle to let me choose between the paper or electronic versions of my document. \newtoggle{papier} Primarily, this disables coloured hyperlinks and coloured code using ...
3
votes
1answer
46 views

Hack into Beamer page (or frame) numbers

I use pause and only in my presentation. Currently, I got 3 identical number 29/38 for three pages where I use pause and only. (I don't know exact what command or setting I use). I would like to have ...
2
votes
3answers
36 views

How to check for odd/even pages when numbering pages by chapter?

As described here I'm using chappg's \pagenumbering{bychapter} (implicitly via the auto option) to have pages numbered in the style \thechapter-\thepage. But now a \ifodd\thepage fails horribly, as ...
1
vote
0answers
24 views

Want landscape page #'s at bottom of page, keep landscape orientation [duplicate]

Currently, my landscape pages are oriented in landscape (ie, you don't have to rotate your head to see them in landscape), but the page numbers are at left side of the page, rotated (ie, if I was ...
2
votes
2answers
102 views

How to hide page numbers but still be able to use them in TOC

How to hide page numbers in my document and still be able to display them in table of contents? Obviously, \pagenumbering{gobble} does work, but they are no more visible in the table of contents ...
5
votes
3answers
896 views

Automatic message “continue on next page” in all the pages (except the last)

I have critical document (aka a CV) with just two or three pages. Even when opened on screen it can look as if it has one page, because there is no clue (in the page) that the document continues. Is ...
10
votes
2answers
792 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 ...
0
votes
0answers
23 views

Only first chapter page number is up - how to keep it same as other pages

In my thesis document, the page number for the first page of the chapter appears at a different location (little up) compared to all other pages. This happens only for Chapter-1. Chapter 2, 3, ... etc ...
3
votes
1answer
42 views

Get rid of Page number in “minipage”

I need help, i'm writing my thesis and i can't eliminate the page number in the "front page". Here is the code: \documentclass[a4paper,12pt,operight,oneside]{book} ...
3
votes
2answers
33 views

Document has 2 first pages

the watermark appears on 2 pages, the title and the first TOC. After some testing I think the TOC resets the page numbering. If I insert a blank page after the title, the page of the start of the TOC ...
1
vote
1answer
89 views

What is the most precise way of including a Mathematica code in a LaTeX document?

I have tried to insert my Mathematica notebook into LaTeX by converting it as a PDF file and then using \includepdf[pages=1-4]{blablabla.pdf}. However, there are now two problems I faced: This code ...