Questions tagged [page-numbering]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
38 views

article class: how to eliminate the pagenumber and let \thepage work

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 ...
RenatoP's user avatar
  • 791
2 votes
3 answers
74 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 ...
Antonio Maria Di Mauro's user avatar
0 votes
1 answer
42 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 ...
Ommo's user avatar
  • 835
0 votes
1 answer
21 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 ...
Ommo's user avatar
  • 835
1 vote
1 answer
33 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{...
Ommo's user avatar
  • 835
0 votes
0 answers
31 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 ...
Olivier's user avatar
  • 75
0 votes
1 answer
46 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 ...
Char19's user avatar
  • 15
0 votes
0 answers
23 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 ...
Carsten Hoffmann's user avatar
1 vote
0 answers
35 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 ...
Felipe Dilho's user avatar
1 vote
1 answer
76 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 ...
Boar's user avatar
  • 199
1 vote
1 answer
55 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 ...
Youra_P's user avatar
  • 1,054
0 votes
0 answers
35 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 ...
katsucurry's user avatar
0 votes
1 answer
15 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]{...
epsilonhalbe's user avatar
  • 1,020
5 votes
2 answers
248 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 ...
Jim Ye's user avatar
  • 85
1 vote
1 answer
104 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 ...
Clyde Kertzer's user avatar
1 vote
1 answer
34 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]{...
antonio's user avatar
  • 1,446
1 vote
0 answers
52 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} ...
dvverdo's user avatar
  • 27
0 votes
1 answer
66 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 ...
rk89's user avatar
  • 139
0 votes
0 answers
107 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 ...
KBH10's user avatar
  • 1
1 vote
1 answer
49 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{...
Simd's user avatar
  • 6,795
0 votes
0 answers
63 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 ...
UberLu's user avatar
  • 9
0 votes
1 answer
65 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. ...
Joel Derfner's user avatar
0 votes
2 answers
63 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} \...
kafman's user avatar
  • 115
1 vote
3 answers
141 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 ...
wolfrevo's user avatar
  • 513
0 votes
0 answers
23 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 ...
egor lunev's user avatar
1 vote
1 answer
47 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 ...
mas's user avatar
  • 1,333
-1 votes
1 answer
72 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 ...
Aradnix's user avatar
  • 3,735
0 votes
0 answers
24 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 \...
LFAndrew's user avatar
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....
thenerdymathematician's user avatar
0 votes
0 answers
24 views

How to suppress the number of a page with mdframed and then refer to the missing page number (e.g. with \pageref)?

I want to suppress the page number on a specific page (not the title page) that has a box defined with mdframed, and then be able to refer to the suppressed page number. There is text on this page ...
Pertinax's user avatar
  • 260
0 votes
0 answers
37 views

How can I paginate with APA7 format?

I need to paginate on the top right of the thesis because that's what APA 7 Format asks for. My problem is that I can't paginate the pages with titles like Chapter 1, 2, etc with arabics, but I can ...
MAD MAGGOT's user avatar
0 votes
1 answer
57 views

change color of page number on a single page

I am coloring a single page of my document black (\pagecolor{black}) but need the page number on the bottom to be in white text. What's the simplest/best way to do this, ideally without importing any ...
Nate's user avatar
  • 73
2 votes
3 answers
209 views

How to show page numbers at the bottom of each page? [duplicate]

I try to add numbering at the bottom of each page, using the code shown below. But I found that the page number appears in the header, with the Outline of Proposed Research, rather than at the bottom ...
Hermi's user avatar
  • 231
1 vote
1 answer
35 views

How to add a page number (out of total) at end of beamer headline containing a miniframe

I use beamer with a headline containing miniframes navigation content: \documentclass[compress]{beamer} \useoutertheme[subsection=false]{miniframes} \setbeamercolor{section in head/foot}{fg=white, bg=...
equaeghe's user avatar
  • 5,976
3 votes
1 answer
135 views

How to create a \pagenumbering style?

I want to create a \pagenumbering style using devanagari alphabets only for \frontmatter. here is an example which I want to create: i -> अ ii -> आ iii -> इ iv -> ई v -> उ vi -> ऊ ...
Love Grover's user avatar
0 votes
1 answer
28 views

How to show the table of contents for highlighted code?

I get this way to create \newcounter{bash} from one forum that I forgot the link here. I want to know how to create the table of contents for the codes like \tableofcontents that is showing the pages ...
Freya the Goddess's user avatar
1 vote
1 answer
26 views

ConTeXt: Increment user page number for TEX page

Background A few different start/stop environments insert a TEX page. ConTeXt Version: 2023.07.18 22:07 Problem The TEX page doesn't increment the user page number. Code For example: \definestartstop[...
Dave Jarvis's user avatar
  • 11.9k
0 votes
1 answer
23 views

Number every second page, text on first page, pictures on the second

I have a friend who is face with more and more absurd formatting rules in her thesis. In the end, the thesis should be printed on every second page. This is OK, and has nothing to do with LaTeX. But ...
Hemmelig's user avatar
  • 372
1 vote
0 answers
50 views

Removing page number from a particular page

Due to a long pseudocode, I want to remove only a particular number in the following latex template. Is it possible to do it? Latex template: University of Oxford Mathematical Institute PhD Thesis ...
Questioner's user avatar
1 vote
0 answers
28 views

page number in table of contents (of its own page) incorrect [duplicate]

The pagenumbers of the "chapter" table of contents isn't consistent: in the table of contents is another number than on the page itself. It would be awesome if somebody could help me. \...
Hanna Kretz's user avatar
2 votes
1 answer
93 views

Correcting the back referencing from bibliography

I am writing lecture notes where the title page numbering is set to gobble, the toc pages are in roman and the lectures pages are in arabic. The problem is specifically on the 1st lecture page. I have ...
raf's user avatar
  • 633
0 votes
0 answers
45 views

Page Numbering in Table of Contents is wrong

[![My Introduction starts at page 4 but appears in the table of contents starting from page 28 (the last page)
Samantha S's user avatar
0 votes
0 answers
26 views

How To Specify Numbering To Specific Pages Only

I tried \setcounter{page}{1} but its giving me extra page after a section i dont why Code - \documentclass[a4paper,12pt]{book} \usepackage{amssymb} \usepackage{amsfonts} \usepackage[shortlabels,...
Piyush Baweja's user avatar
2 votes
2 answers
105 views

The Page Numbers Position is not getting fixed in centre

I am using fancyhdr package but the page number are shifting right on odd number pages and shifted left on even. Code: \documentclass[a4paper,12pt]{book} \usepackage{amssymb} \usepackage{amsfonts} \...
Piyush Baweja's user avatar
1 vote
1 answer
54 views

Correct the last page number of frontmatter

I want to show the last page number of front matter. This is the code: \documentclass{book} \usepackage{blindtext} \usepackage{lastpage} \begin{document} \frontmatter \begin{tabular}{ll} ...
Ongky Denny Wijaya's user avatar
1 vote
1 answer
43 views

Use Lowercase Roman Page Numbering with spanish babel

I'm creating a document where I need the \frontmatter to be enumerated with lowercase Roman numbers, but I'm getting uppercase numbers due to the command \usepackage[spanish]{babel}, can someone help ...
Jafeth Mauricio Araya Calvo's user avatar
0 votes
1 answer
33 views

How to modify only the style of the first page of the bibliography?

I have been using my own style for the text that I am writing, this with the use of the fancyhdr package, with the following commands: \titleformat{\chapter}[display] {\centering \normalfont\huge\...
Felipe Dilho's user avatar
1 vote
1 answer
39 views

Generating a table of content line without related page number

I have some unnumbered pages in a document before pages that are numbered. I'd like to add the unnumbered pages to the table of contents, but without their page number. Here is an exemple: \...
Louis K.'s user avatar
0 votes
0 answers
61 views

Dynamically referencing a page number?

I am revising a paper submitted to a journal. In the response letters to the reviewers, I would like to state on which page can they found the changes which they suggested. The paper will go through ...
J. Doe's user avatar
  • 176
1 vote
0 answers
51 views

Move page number position for a specific page [closed]

I am using overleaf and the official Elsevier template to write a paper (for the first time in latex). In my document there is one large figure with long caption, I have to put them in a new page with ...
Tianjian Qin's user avatar

1
2 3 4 5
38