Questions tagged [page-numbering]
{page-numbering} is about how (La)TeX numbers pages and how page numbering can be influenced.
1,902
questions
0
votes
0
answers
20
views
Page numbering in table of contents goes wrong after list of tables and list of figures
I have written my PhD thesis as a Quarto book, outputting to pdf. Just about to submit final copy (viva and corrections complete), just noticed the page numbering in the Table of Contents (TOC) goes ...
2
votes
3
answers
20
views
How do I ask latex to start numbering from the title page?
This is my MWE.
\documentclass{report}
\usepackage[utf8]{inputenc}
\usepackage[top=1in, bottom=1in, left=1in, right=1in]{geometry}
\usepackage{placeins}
\usepackage{natbib}
\usepackage{graphicx}
\...
0
votes
0
answers
10
views
In a two-sided document, changing the page counter messes up the two-sided-ness [duplicate]
I'm creating a two-sided document. The front matter is in roman numerals (\pagenumbering{roman}), and the main matter is in arabic numerals (\pagenumbering{arabic}, resetting the \pagecounter to 1). ...
0
votes
1
answer
24
views
reset page and total page number in fancy footer with input files
I have a document that comes in two parts. I am compiling it using \input{} from multiple files. This the minimal working example in the file called main.tex:
\documentclass[11pt]{article}
\usepackage[...
0
votes
0
answers
48
views
How to insert an image at a specific page number
I would like to insert an image by using package tikz at a desired page.
For example, I want this image to appear at page 3 (must be page 3), despite other contents are going to change freely.
Any ...
0
votes
1
answer
32
views
Page number starts at zero for numbering scheme based on section number and relative page count
I have tried to replicate a different type of page numbering scheme, which uses the section number and the page within the section, for example, 2-1 for the first page in the second section, or 1-5 ...
4
votes
1
answer
72
views
How to get rid of the default, i.e., "plain", page numbers?
I'm trying to create a template for my math course and I'm facing some problems as I'm not experienced in working with LaTeX. This is the MWE :
\documentclass[a4paper,9pt,twocolumn, landscape]{...
1
vote
1
answer
123
views
Wrong page referene for enumerate
I'm facing an issue with referencing an enumerate.
I'm having an unusual layout where the page number is increased by 2 per page. On the left side is the odd number, on the right side the even number. ...
1
vote
1
answer
57
views
Starting the abstract at the odd page on twoside report
I want to set up the page layout so that the abstract, acknowledgments, ToC, chapters, etc. start at the right or odd pages for the twoside option.
Title
Blank page (ii)
Abstract (iii)
...
4
votes
0
answers
35
views
glossaries-extra: using both groups and page numbers
I want to combine a typical list of acronyms and a separate grouped list of symbols. After trying several solutions with the base glossaries package, I found that the glossaries-extra offers the ...
0
votes
1
answer
33
views
TOC has pagenumbering with pagestyle{empty}
I am writing a thesis and it starts with titlepage stuff, followed by a table of contents, followed by the conten of the thesis. My goal is to start the page numbering from the content onwards by ...
1
vote
1
answer
33
views
Ensuring Correct Page Numbering Side in Two-Sided LaTeX Document
I'm working on a two-sided LaTeX document with the following settings:
\documentclass[10pt, a4paper, twoside]{article}
\fancyfoot[LE, RO]{\thepage}
I aim to use Roman numerals for the initial pages (...
1
vote
1
answer
31
views
ConTeXt: Center-aligned page number in footer at the start of Chapter or Title and right-aligned them in header elsewhere
I hope the question is self-explanatory. I typeset the page number using:
\setupindenting[yes, 1em]
\setuppagenumbering[location=header,alternative=singlesided,style=mediaeval]
\setupheadertexts[\...
1
vote
1
answer
40
views
Correcting the roman page numbering after the title page
My desired page numbering style for the following MWE is like:
Title-page (blank)
Abstract (page ii)
ToC (page iii)
Chapter 1 (page 1)
But I am getting:
Title-page (blank)
Abstract (...
0
votes
1
answer
52
views
Customization of page numbering
I am aware that I can change the number manually using the \setcounter{page}{n} command for the page number n. What I am looking for is a way to change the font of the counter.
This is specifically ...
0
votes
1
answer
71
views
Starting page numbering after TOC and reflecting in TOC
What I wish for
I want to start page numbering 1 after TOC, i.e., from section 1 page and reflect that page number in TOC. All the pages before section 1 should be ignored in TOC.
What I additionally ...
0
votes
1
answer
42
views
Merge PDF files with includepdf and have page numbering per file and total
I would like to merge different PDF files and have two different page numberings.
The header should have #current PDF# - #current page# (1-1, 1-2, ...), next PDF will have (2-1, 2-2,...)
The footer ...
1
vote
1
answer
32
views
Beamer page numbering without animations
When I give presentations I usually organize my frames in the following way:
I create one frame about some topic, shown in the title
Inside that frame, I create one slide for each sub-topic with the ...
0
votes
0
answers
28
views
page numbers missing when chapters are more than one pages
Page numbers are displayed "only" on the first pages of every Chapter of my thesis, but no page numbers on the subsequent pages.
I have used the following preamble:
\documentclass[12pt]{...
0
votes
0
answers
54
views
How to remove blank pages created before and after a certain pages in thesis writing?
I am writing my PhD thesis in mathematics.
I have used the following preamble:
\documentclass[12pt]{report}
\usepackage[centertags]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{...
0
votes
1
answer
42
views
Fancyhdr doesn't work on first page
Fancyhdr doesn't seem to be working on the first page of my document.
My preamble:
\pdfminorversion=7 %For the inclusion of pdfs
\documentclass[11pt]{amsart}
% Packages
\usepackage{amssymb, amsmath, ...
0
votes
1
answer
53
views
article class: how to eliminate the pagenumber and let \thepage work [closed]
on my .tex I use article documentclass. It (by default) put the page number on bottom of page. But I also use \thepage variable to put page number on top of the page in a specific place.
I would ...
3
votes
3
answers
90
views
How break page numbering and restart it by the last automatically?
When I write a document it is usual I divide it into more part: so, I am usual to not number part page as into the example put below where I put a document with three parts, like Overture, Part I and ...
0
votes
1
answer
67
views
Conflict between hyperref and page numbering?
It looks like there is a conflict between the hyperref package and the "page numbering" of a document (maybe with the fancyhdr package?). In the following MWE there are 67 warnings. How to ...
0
votes
1
answer
29
views
Page numbering at the bottom right of the page, when the page margin is extremely small
This is a follow-up from Page numbering at the bottom right of the page, when the page margin is very small.
Based on the solution provided by @David Carlisle (related to the page numbering at the ...
1
vote
1
answer
40
views
Page numbering at the bottom right of the page, when the page margin is very small
How to add the page numbering at the bottom right of the page, when the page margin is very small?
\documentclass{article}
\usepackage[a4paper,margin=2mm]{geometry}
\usepackage{lipsum}
\begin{...
0
votes
0
answers
35
views
No page number for TOC entry followed by entry deeper and same page
Let's assume that my Introduction is Chapter 1 on page 1, with no sectioning.
And Chapter 2, Section 2.1 and Subsection 2.1.1 appear on page 3. And Subsection 2.1.2 and Section 2.2 and Section 2.3 ...
0
votes
1
answer
60
views
With a wide longtable, how do I rotate the pages of the table to landscape with the page numbers still at the bottom of the page?
I have a similar question to this one asked a few years ago: single landscape page with page number at the bottom?
Unfortunately the solution shown in that question doesn't seem to work any longer due ...
0
votes
0
answers
24
views
No page number for pdf appendix in toc
I'm writing my masterthesis and struggle with the pagenumbers of my appendix in the toc. How can the pagenumbers be removed just for the appendixes? The only appendices I have are included pdfs.
It's ...
1
vote
0
answers
47
views
How to fix abntex2 first page in the bibliography?
It seems that the first page in the bibliography when using the abntex2 package puts the page number in the upper right side of the page, how do I correct this so that the page numbering of only the ...
1
vote
1
answer
79
views
Difficulty with `tableofcontents` and page-numbering
I'm writing my math thesis with Texmaker, but somehow my LaTeX codes fail to produce the PDF layout required by my school. Ideally, I'm hoping to achieve the following result:
Please notice that this ...
1
vote
1
answer
60
views
Font issue when using multi-page code (minted)
To add multi-page listings, the code environment is used.
The first page number style uses a mono font.
The second page number style uses a serif font.
I need the serif font for all pages.
Where is my ...
0
votes
0
answers
41
views
How to place the page number of the header in the margin?
I am using the following code and cannot figure out how to justify the header to the left on the left page and the right on the right page and put the page number in the margin instead of within the ...
0
votes
1
answer
23
views
How to change fancyheadoffset different for single pages than double digit pages
I'm using fancyhdr to position my page numbers in a document (odd/even pages).
\pagestyle{fancy}
\fancyhf{}%
\renewcommand{\headrulewidth}{0pt}%
\setlength\footskip{2.0cm}%
\fancyheadoffset[rof,lef]{...
5
votes
2
answers
254
views
Remove page number, if there is only one page in a section
In my current project, I want to create worksheets that I can print out and distribute. To do this, I want to reset the page number for each worksheet, but only display the page number if the ...
1
vote
1
answer
122
views
Change font size of page numbers
What is the simplest way to choose a precise font size for page numbers? For some reason the page numbers are 10 points but the rest is 11 points.
This is my preamble:
\pdfminorversion=7 % For the ...
1
vote
1
answer
38
views
TikZ library "external" breaks page number count in focus theme
I like the Beamer focus theme, however, when I use it with
TikZ library external, it breaks the page number count in the footline. Here is an example:
\documentclass{beamer}
\usetheme[nofirafonts]{...
1
vote
0
answers
56
views
Page number resets on chapter 1 but I don't understand why
I'm writing my thesis on LaTeX and according to my university guidance the page number needs to be arabic all the way throughout until the appendix. I haven't included the \pagenumberic{arabic} ...
0
votes
1
answer
100
views
Formatting manually entered toc entries with tcolorbox
Followup to How to access the section titles in toc in order to format with tcolorbox
I would like to put a manually entered toc entry using \addcontentsline in a tcolorbox. However, I am confused how ...
0
votes
0
answers
109
views
Setuppagenumbering adds blank page if started on odd pagenumber
i'm new in this whole ConText topic and have a question:
I want to generate a pdf. file and this is working fine, so far. I have a title page and a table of content. After this, i would like to start ...
1
vote
1
answer
52
views
How to add page # of ## to an exam with a front page
I am using the exam package as follows:
\documentclass[answers, addpoints]{exam}
\usepackage{lipsum}
\usepackage{lastpage}
\usepackage{fancyhdr}
\pagestyle{fancy}
\begin{document}
%\includepdf{...
0
votes
0
answers
72
views
\pageref refers to second to last page of document part with floats cleared by \clearpage instead of last page
I have a document where I input the main part via \input{}, add a label to refer to for the page numbering (similar to how the lastpage-package works) and use a \clearpage to start the appendix on the ...
0
votes
1
answer
86
views
How to include page number in endnotes made with enotez
I'm using enotez with the octavo class and want to include in each endnote the page number to which it refers, but so far all I can do is include the page number on which the endnote actually appears. ...
0
votes
2
answers
78
views
Change page numbering for one page only in KOMAscript / classicthesis
I came across this post to change the page number 4 to be pi. The proposed solution is the following, which works well for the memoir document class:
\documentclass{memoir}
\usepackage[T1]{fontenc}
\...
1
vote
3
answers
158
views
Get the real/actual page number despite the numbering
Having a document with different page numberings: roman (i,ii,etc.) and arabic (1,2,etc.) and the chapters setting the \setcounter{page}{1}.
How to get the "real/actual" page number despite ...
0
votes
0
answers
28
views
Page numbering after titlepage
I am writing a small booklet for my elective using \documentclass{abstract}, and creating a separate titlepage.tex, then inserting it with \import{./}{titlepage.tex}. There are no page numbers on the ...
1
vote
1
answer
55
views
Page numbering in ToC in a different language/script
I am typesetting a book in Kannada language and everything is working fine.
The book contains many chapters and a couple of front matter files. As is the practice, I have set the page numbering to ...
-1
votes
1
answer
79
views
The pages of the generated PDF are not printed, except on the first page of each chapter [closed]
I am working on the template for a thesis I have been commissioned to adapt, and I have an unusual problem with the page numbers, they do not print except on the opening page of the chapter.
I did ...
0
votes
0
answers
26
views
Not all elements change font [duplicate]
I am creating a document which needs to be in Sans Serif font. I have used the \sffamily command at the beginning of the body, which changes the font of the body, no problem. I have also used \...
3
votes
0
answers
51
views
Document with Same Page Numbers and Page Anchoring
I want to have a document that resets the page number at 1 at some point. For example: Page 1 of 2, Page 2 of 2, Page 1 of 3, Page 2 of 3, Page 3 of 3, Page 1 of 1, Page 1 of 5, Page 2 of 5, and so on....