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

learn more… | top users | synonyms (1)

13
votes
3answers
2k 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" ...
6
votes
2answers
13k views

Table of contents with roman, arabic, and no page numbers

I am trying to create a customized table of contents with the following form. I have been looking at a number of sources but still having a hard time getting it to work adequately. Right before ...
4
votes
1answer
6k views

Add Appendix with correct page to ToC

I am failing to add a heading for the appendix to the ToC with the correct page number: \documentclass{scrbook} \begin{document} \tableofcontents \chapter{test} \appendix ...
8
votes
2answers
3k views

No page number on \appendixpage

I am using the appendix package with the \appendixpage command to insert a "Appendices" title page. However, I was wondering how I could avoid that there is a pagenumber on this inserted page. ...
7
votes
1answer
159 views

How can I conditionally include the page number in a cross-reference (when the object referenced is on a different page)?

When a cross-reference to a figure is not on the same page as the figure, I would like to include the page number in the figure. But when they are on the same page, this is redundant--and I want to ...
0
votes
1answer
2k views

LaTeX abntex package, twoside putting the page number on the wrong side of the page

I'm finishing writing my thesis, and to save paper I'm trying to use the twoside option for the package abntex. The problem is that the number is in the wrong side of the page! How can I put it on the ...
9
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 ...
7
votes
3answers
509 views

Strange page numbers in PDF

I generate my pdfs using MikTex 2.9 on Windows 7. On W7 everything looks good. On my other computer where I have CentOS release 5.2 (Final) installed I experience strange display on page numbers. On ...
2
votes
2answers
3k views

Page number is reset to 0 with \include command

I am writing a lengthy document that I have divided in chapters. Each chapter is in a separate file which is called from the master file by means of the command \include. The problem is that every ...
2
votes
2answers
411 views

Test equality between number of the current page and the one of one reference indicated

In the following code, I have one problem with the test \ifthenelse{\equal{\pageref{#1}}{\thepage}}{...}{...}. Why doesn't this detect the equality hoped if the reference is in the same page where it ...
2
votes
3answers
645 views

Page margin taking into account line number

I am typesetting an application that has pretty strict formatting requirements, which includes 12pt Times New Roman font and a 1 inch margin on all 4 sides. I have the following in my preamble. ...
1
vote
2answers
297 views

Why am I getting a frame number of 2? [closed]

Using tikz/matrix inside beamer, I have several slides with a wrong page/frame count. Why is that so, and how can I avoid it? MWE: \documentclass[14pt]{beamer} \usepackage{tikz} ...
5
votes
2answers
874 views

Hyperref: possible page numbering conflict with \alph and \roman

I remember reading somewhere (can't seem to find the actual page now) that in order to avoid duplicate references with hyperref one should switch the page numbering to an "unused" one (say, \alph) for ...
1
vote
1answer
959 views

Make page numbers alternate between the right and the left corner when using apa.cls

I'm using the apa.cls (with the doc-style option) to typeset my document. This puts the number of each page in the top right corner. However, I'm going to print this document so I would like every odd ...
20
votes
3answers
6k 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 ...
8
votes
4answers
576 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 ...
2
votes
1answer
734 views

How do I get pages to have Roman numerals? How can I move a table to the left when flushleft won't work?

How do I get pages to have Roman numerals? How can I move a table to the left when flushleft won't work?
0
votes
1answer
197 views

Bib page number in my index and bibtitle distance from the top

I've got two last questions. The first one is about the wrong page number for my bibliography in the table of contents. I've already tried the solution with \cleardoublepage and \phantomsection before ...
4
votes
1answer
92 views

How can I get a page number on the last page of a chapter with the mwrep class?

\documentclass[12pt,a4paper]{mwrep} \begin{document} \chapter{Chapter 1} Text \pagebreak Text \pagebreak Text \chapter{Chapter 2} Text \end{document} This does not generate page number on last ...
15
votes
2answers
3k 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 ...
5
votes
1answer
2k views

Font style for page number for chapter in ToC

The page numbers in the ToC appear in different styles. For sections and subsections in normalsize and for the chapter in bold and slightly larger (I think). How can one change the fontsize/fonttype ...
9
votes
1answer
6k 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 ...
4
votes
2answers
481 views

How can I add extra \pagemark that marks the number of the page where current chapter starts and where it ends?

I'm using KOMA-Script scrbook class. And scrpage2 package for headings: \usepackage{scrpage2} \clearscrheadfoot \pagestyle{scrheadings} \cfoot[\pagemark]{\pagemark} \chead[]{\headmark} I want to ...
4
votes
1answer
385 views

why minipage environment prevents \thepage counter update?

Here is the code, that demonstrates the problem: \documentclass{article} \usepackage{lipsum} \usepackage[a4paper]{geometry} \begin{document} \lipsum[1-6] \begin{minipage}{\textwidth} \lipsum[7] ...
5
votes
2answers
511 views

Generate consecutive page numbers + ToC from 28 .tex files?

I've completed half a semester of Discrete Mathematics. I have written up all 28 lectures into individual .tex files, labelled Lecture1.tex Lecture 2.tex ... Lecture28.tex. The beginning of each one ...
4
votes
1answer
595 views

How can I put page numbers or headers inside my handouts (handoutWithNotes)?

I've been trying to obtain some stylized handouts using beamer with handoutWithNotes by Guido. What I have now is the 4 framed handouts purely but I'd like to put the page number on the bottom of the ...
4
votes
3answers
14k views

Different page numbering in appendix?

How can I use an independent page numbering in the appendix, either with Roman or Arabic numberals as page numbers? (I.e. the first page of the appendix should start again with 1, as it is often ...
7
votes
3answers
10k 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 ...
1
vote
1answer
284 views

Page number of the table of contents in the indexing

In my document page numbers in the contents are correct but when I click the hyperlink of list of tables and list of figures it goes to the acknowledgement page. Indexing is not proper. What shall I ...
2
votes
2answers
918 views

KOMA-article: Page X of Y not showing in first page footer

(Warning: Question from newbie to LaTeX :-) Using koma-article in Org-mode, I want to show "X of Y" in the footer of all pages. I followed the instructions in this post, and it works fine for pages 2 ...
3
votes
1answer
112 views

General template problem

I need to achieve the following formatting. Is that possible? Can someone provide an example?
7
votes
5answers
1k views

\pagestyle{empty} doesn't work on first page of new chapter

I have a problem with page numbering in LaTeX. I don't want any page number in my document so I used \pagestyle{empty} but every time when I start a new chapter I get a page number on the bottom ...
7
votes
2answers
326 views

Create plain CSV list of pages with/without figures

I'm wondering if there's an easy way to have LaTeX output two lists: of pages containing and of pages not containing figures and/or other color objects. I'd like to print color pages on a color ...
33
votes
3answers
9k 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 ...
21
votes
3answers
42k 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 ...
7
votes
2answers
336 views

Print a single page multiple times, counting up the page number

I (still :) have a ham-radio logbook, a single a4 page which I fill out manually (so this is just an empty form/a template of sorts). Please see below for the code. The page number is on the bottom ...
7
votes
1answer
547 views

bug with page numbers when using soul package

I recently ran into a curious bug when using the soul package. I managed to boil it down to the following example. The problem is that the page numbers get messed up. In the example below, they should ...
1
vote
1answer
601 views

Change page number position in the middle of a document

I'm creating a large document. My document contains three parts : frontmatter, main, backmatter. For frontmatter I have to place page number centering, for main I have to place page number flushright, ...
2
votes
2answers
721 views

How to put page numbers flush with the upper right corner when the section title is long?

I am writing a paper using an sty which puts the section title on top of each page together with the page number at the corner (using fancyhdr). The problem is that if the section title is too long ...
4
votes
2answers
1k views

How to do custom page numbering

I would like to have page numbers set in a non-default style. (I will have several chapters A, B, C, ... and I would like the pages in Chapter A numbered A-1, A-2, ... and then the pages in Chapter B ...
4
votes
1answer
3k views

Odd pages should be right

I'm writing a document using srcbook. It has quite many pages and I have the following scenario: The first ~10 pages are numbered with small roman numbers (i.e. i, ii, iii, iv, v, vi, vii, ...). ...
6
votes
3answers
891 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 ...
10
votes
2answers
794 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 ...
5
votes
1answer
336 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 ...
1
vote
3answers
2k views

Book layout: bottom external page number

I'm using Lyx 2.0 to format my text with LaTex. I'm using the predefined "book" template. On the first, non-title page I have the page number "1" centered on the bottom, while on the other pages the ...
1
vote
1answer
2k views

Why does my page number reset to 1 after the table of contents, and how can I avoid this?

For the table of contents, I change the page number in the footer from roman numerals to arabic numerals. But the problem is that the page number will be reset to 1 after the table of contents. I want ...
0
votes
1answer
919 views

hyperref vs includepdf

\documentclass[12pt,a4paper]{mwrep} \usepackage{polski} \usepackage[cp1250]{inputenc} \usepackage{pdfpages} \usepackage[hidelinks]{hyperref} \renewcommand\baselinestretch{1.5} \usepackage{etoolbox} ...
6
votes
1answer
2k 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 ...
1
vote
1answer
902 views

Beamer page numbering: Figure disappears

I am trying to get my frames numbered. I'm trying it with the command \setbeamertemplate{footline}[frame number] But it's not really working... I have a logo on my title page, which disappears with ...
15
votes
2answers
549 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 ...