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

learn more… | top users | synonyms (1)

5
votes
1answer
419 views

How can I restore Chapter page numbers in minitoc with memoir?

Here's my minimal example: \documentclass{memoir} \usepackage{minitoc} \usepackage{lipsum} \doparttoc \begin{document} \tableofcontents \part{The Only Part} \parttoc \chapter{The Only Chapter} ...
6
votes
2answers
321 views

Draw picture next to page number

How can I display (draw) a picture next to the page number. At best, the "style" of the picture would be calculated automatically, depending on the current page number, e.g., draw a circle on even ...
2
votes
1answer
2k views

Remove page numbers in a »titlepage« environment

I use the titlepage enviroment in my thesis and want to remove the page numbers on my title pages (where I've got 2) pages. The titlepage enviroment does that for the first site automatically but not ...
7
votes
3answers
861 views

Move the page number to the very bottom of the page

I need to move the page number to the very bottom of the page, so it scrapes the bottom edge of the actual sheet (US letter). How do we do that?
5
votes
2answers
11k views

How to insert page numbers on some frames produced by Beamer?

I wonder how to insert the page numbers (say) on the top left-corner of the frames of my presentation file (excluding the first frame -namely the Title Frame- and the last one, namely the Thank-You ...
12
votes
2answers
9k 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 ...
0
votes
1answer
319 views

Query on the \pageref command

I am trying to use the \pageref command and although it seems to work appropriately and finds the correct page number, for some reason (unknown to me..) it causes big spaces before and after the page ...
10
votes
2answers
18k views

How to move page number?

I want to change the position of the page number. I've read around here that some suggest to use the fancyhdr package, but I don't want to use it – I'm a beginner to LaTeX so I don't want to use a ...
0
votes
1answer
668 views

Fancy style, cleaning and improving

I was given the following style: % Style definitions \usepackage{fancyhdr} \renewcommand{\chaptermark}[1]% {\markboth{\MakeUppercase{\chaptername\ \thechapter.\ #1}}{}} ...
10
votes
1answer
319 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?
40
votes
3answers
66k 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 ...
1
vote
1answer
1k views

Glossaries package and pagenumbering

I am using the glossaries package to maintain an Acronyms list and a Glossary. My problem is that the Acronyms list is too big. Currently it is occupying 2 pages. The first page is numbered as vi, ...
1
vote
3answers
730 views

Oldstyle (arabic) numbers in headings remove roman pagination

Using the following code to get oldstyle (arabic) numbers in the headings make the preamble page numbers (in roman) to disappear. Here's a minimal working example: \documentclass{book} ...
6
votes
3answers
4k views

Correctly skipping pages for page numbering

I have a book I'm laying out in pdflatex. The page numbers are on the outer corners of the pages (along with some other header and footer stuff.) Occasionally, the document has a full-page image ...
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 ...
6
votes
1answer
8k views

How to 'center' 'page number' in beamer slides

When inserting page numbers into beamer slides, I usually use: \setbeamertemplate{footline}[page number] Then the page numbers will appear at bottom right. Is it possible to put the page numbers ...
2
votes
1answer
6k views

How to insert “footline”-style page number into “headline”

When inserting page numbers into beamer slides, I usually use: \setbeamertemplate{footline}[page number] Is it possible to do this for headline, something like: \setbeamertemplate{headline}[page ...
19
votes
6answers
9k 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
4answers
481 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, ...?
2
votes
1answer
434 views

How do I combine formatted page numbers in an index

If I format page numbers in an index, they show up in addition to non-formatted numbers. This minimal example: \documentclass{article} \usepackage{makeidx} \makeindex \begin{document} page 1 ...
12
votes
3answers
632 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, ...
4
votes
2answers
1k views

How do I add a Page X of Y in a KOMA-script class?

I saw the answers to a similar question, but the accepted answer won't take effect in a KOMA-script class. \usepackage{lastpage} ... \cfoot{\thepage\ of \pageref{LastPage}} I am using scrartcl ...
4
votes
2answers
932 views

How to change the position of the page number in the first page of every chapter of a book?

I am using the book.cls and I want that the page number of the first page (only the first page) of every chapter be at the bottom and on the right. And page numbering of the other pages remain intact. ...
28
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 ...
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} ...
4
votes
1answer
1k views

Roman numerals in frontmatter are skipping some numbers

I have the following document: \documentclass{article} \usepackage{titling, graphicx} \title{Title goes here} \author{Authors go here} \date{} \begin{document} \include{title} \pagenumbering{Roman} ...
6
votes
4answers
5k views

How to change the formatting/font of page numbers?

So, I'm using the article class, and I'd like to make the page number smaller, and set it in a different font. I don't need to create a new pagestyle, necessarily, and I'm hesitant to do so without ...
1
vote
1answer
627 views

How do I make my pdf Page1 correspond to my Latex Page 1

In my pdf, I have my initial pages for the intro and TOC in roman numerals, and the pages for the main content in arabic numbers, and I'd like for page 1 of the PDF as shown in Acrobat to correspond ...
5
votes
1answer
9k views

Removing page number from ToC

How to remove the page number from the table of contents page?
5
votes
3answers
2k views

Appendices in PDF Outline appear as childs of last section

I'm using the following general outline in book class: \mainmatter \include{introduction} \part{...} \include{chapter1} ... \part{...} ... ...
24
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 ...
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 ...
32
votes
1answer
29k 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} ...
14
votes
3answers
6k 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?
64
votes
7answers
19k 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?