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

learn more… | top users | synonyms (1)

6
votes
2answers
987 views

Uppercase pagenumbering (roman) using \frontmatter

I am using \frontmatter, \mainmatter and \backmatter so my pagenumbering is correct. However, i would like my roman pagenumbering in \frontmatter to be uppercase. Is there any easy way to do so? ps: ...
1
vote
1answer
1k views

How to get rid of the page numbers on pdf pages?

I was writing up a cover letter for a company I am applying to and after writing the letter, when I scrolled to the bottom, for some reason the number that automatically appears to number the pdf ...
33
votes
6answers
9k 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 ...
1
vote
1answer
377 views

How to change page number location for first page only

I'm writing a style file for a document that requires the page number on the first page to be at the bottom center. On the rest of the pages it needs to be in the upper right hand corner. Can anyone ...
17
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 ...
8
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 ...
8
votes
5answers
804 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 ...
12
votes
4answers
597 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, ...
4
votes
2answers
383 views

Problem with the numeration appearing in the table of contents

I have some trouble with the page numbers printed in the table of contents. I am writing a text in book class. In my text, I first print a table of contents with the commands \frontmatter ...
7
votes
1answer
6k 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} ...
1
vote
2answers
2k views

chapter heading page numbers

I know this has been covered but I can't get any solutions that I've seen to work. Page numbers for my thesis are upper right but the first page of each chapter should have it bottom center. I tried ...
6
votes
2answers
2k views

glossaries: including an entry without page location

In the glossaries package, \glssee{label}{aaa,bbb,ccc,ddd} will cross-reference entries, but it doesn't include the referenced entry if it is not otherwise included in the glossary. (e.g. there will ...
5
votes
2answers
1k views

size of page number in footer

I set the size of the text using \fontsize, but this seems to have no effect on the page number. I want to keep the pagestyle as plain. How can I make the font used to print the page number "grow" in ...
2
votes
1answer
968 views

LyX: Different margins for page numbers

How can I modify the page numbers to have a different SIDE margin. I've got the vertical margin set right but my advisor wants my page numbers for the thesis 0.5" from both top and side edge (1" ...
2
votes
2answers
4k views

Some ToC & page numbering questions

I am just in the last stages of sorting out a book for my publishers. The main problems are with page numbering, and ToC. The publishers require: Table of contents (numbered with Roman numerals) a ...
2
votes
1answer
4k views

No page numbering for the table of contents

How do I skip numbering until the beginning of chapter 1 with scrbook? I'm using something alone the lines of \begin{document} \pagestyle{empty} \pagenumbering{none} \maketitle \tableofcontents ...
9
votes
1answer
666 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? ...
9
votes
2answers
3k 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 ...
2
votes
1answer
1k views

How can I redefine the base font size and change the size of the page number on chapter pages?

I've got a problem when editing a TeX file. I've changed \normalsize to 20pt by \newcommand{\mysize}{\fontsize{20pt}{\baselinestretch}\selectfont} \renewcommand{\normalsize}{\mysize} and this ...
2
votes
2answers
408 views

How to center the pagenumber related to the page

My pagemark in the heading is centered related to the textbody, but since my left margin is wider than my right, the pagenumber is not centered related to the page. Little miniature example: ...
15
votes
4answers
1k 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 ...
5
votes
1answer
1k views

Table of Contents: Customize space between dots before page number?

I am writing a small KOMA-Script scrartcl document with multiple sections. In the table of contents, LaTeX fills the current line with dots between the end of the section name and the page number. Is ...
6
votes
2answers
1k views

Add a link to the TOC

I'd like to link the Table of Contents in the footer of each page. I can achieve this thanks to this hint like so: # In the hyperref section of the document preamble \cfoot{\hyperlink{page.1}{TOC}} ...
5
votes
3answers
1k views

How can I change the increment of the page numbering?

I'm trying to create a somewhat specially formatted document, with some text on the recto (right side) and a graphic on the verso (left side). This is for a brochure of sorts. See below: --------- ...
5
votes
1answer
410 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
317 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
782 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
8k 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
309 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
16k 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
646 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
316 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?
33
votes
2answers
49k 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 ...
2
votes
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
705 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 ...
10
votes
1answer
6k 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
7k 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
5k 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 ...
16
votes
6answers
8k 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
15
votes
4answers
456 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
405 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
614 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
879 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. ...
27
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
991 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} ...