Skip to main content

Questions tagged [pageref]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
1 answer
28 views

Refer to first and last page of each included PDF

I would like to refer to the first and last pages for each of the several PDF documents I am including in a manuscript using \includepdf. Anyone has suggestions on how to do that? I tried the ...
Francesco B's user avatar
0 votes
0 answers
37 views

Label of a section with the same name of the section automatically [duplicate]

I'm wondering if there is a way to name the label with the same name of a section automatically. In the below example, instead of writing \label{page1}, I'd like to write something like \label{...
Gennaro Arguzzi's user avatar
0 votes
0 answers
69 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
0 answers
25 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
3 answers
56 views

handling a variable number of pagerefs

I'm writing a discussion document where contributors get their own pages and I want to mention these pages in the general text So I have this which seems to do the trick % usage: create printed page ...
aldobranti's user avatar
1 vote
1 answer
24 views

How to use \ref with automatic parenthesis, text and the refnumber? aka: (Siehe S. 3)

I have a small inconvenience with referencing within my document. I would like \pageref{sample} to not show "7" but instead (Look p.7). At the moment I do it by hand but I would like to ...
schaewol's user avatar
1 vote
2 answers
52 views

Errors with epubcheck after tex4ebook, concerning \pageref{somelabel}

I found a MWE which reproduces the error message with epubcheck 2 times when having run tex4ebook (in my source the error appears 20 times identically) with Fragmentbezeichner ist nicht angegeben (...
Thomkrates's user avatar
0 votes
0 answers
27 views

Referring to line numbers and citations in another document [duplicate]

In revisions to a manuscript, we need to make references to where some text has been added in the main document (manuscript.tex), in our response document (response.tex). As can be expected in ...
user2751530's user avatar
  • 1,102
0 votes
1 answer
77 views

How do I refer to the first page of the glossary?

This question is about making the glossary numbered, and referring to it by that number. I'm instead asking about referring to the page where the unnumbered glossary starts. Since I'm using \...
Enlico's user avatar
  • 2,612
1 vote
1 answer
54 views

Why does `\pageref` give incorrect page number when a `lstlisting` starts on a new page?

I noticed neither \pageref nor \vpageref gives me the correct page number when a particular listing starts on a new page and there also is an underfull vbox on the previous page. I think if I fill ...
Pyi Soe's user avatar
  • 330
0 votes
1 answer
57 views

\thepage counter does not always work perfectly

I have a small problem that I can not solve, and I do not understand the cause. \thepage counter is sometimes one page earlier than the actual page where it is invoked I think it is because the text ...
Pierre Dufays's user avatar
0 votes
1 answer
59 views

\RefWithPage LaTeX script to add page number only if farther than a threshold

SHORT QUESTION: Is there already a LaTeX package adding a command \RefWithPage LaTeX script to add page number only if farther than a threshold? CONTEXT: Using the package newfloat to define some ...
J..y B..y's user avatar
  • 1,358
1 vote
0 answers
290 views

pageref gives section name and other information

tl;dr: \pageref{} gives section name and other info additional to pagenumber I want to display the page numbers in my document in a "current page / all pages" form and defined \fancyfoot[LE,...
Lilly's user avatar
  • 11
0 votes
1 answer
46 views

Working page counter in tikz image in repeating fancyhdr?

I'm trying to generate a aggregated document, that consists of several sub-sequent documents with similar footers and headers: ┌────────────────┐ │fixed header │ ├────────────────┤ │some content ...
Stephan Richter's user avatar
0 votes
1 answer
46 views

\label{uniqueID} works with \pageref{uniqueID} to print correct page numbers, but it is linking to the wrong page

I need to build page that is sort-of like an index ... but it isn't exactly an index. I pretty much accomplished what I want using \label{some unique ID} to capture the page number ... and \pageref{...
RichWalt's user avatar
  • 171
1 vote
2 answers
41 views

Is there a way to change the style of a float depending on whether it is on the same page of call out or not (again)?

(This is a follow-up of the (unfortunately closed) question Is there a way to change the style of a float depending on whether it is on the same page of call out or not?)) In order to change the style ...
Denis Bitouzé's user avatar
2 votes
0 answers
44 views

BibLaTeX citetracker but with chapter numbers?

I have the following document: \documentclass[openany]{memoir} \usepackage{filecontents} \begin{filecontents}{\jobname.bib} @misc{c1, author={Author}, title={Article}} @misc{c2, author={Writer}...
GrB's user avatar
  • 405
0 votes
1 answer
124 views

conflict pageref with setspace package?

I have a document in which I would like to write each page number in the form (page number)/(total number of pages), for instance 1/2. I am using \label{LastPagePart01} at the end of the document, and ...
Garulfo's user avatar
  • 193
3 votes
2 answers
108 views

How to check if figures are on the same page of call out/text?

If a figure is mentioned in a text, say page 10, but the corresponding figure appears on page 11, how can I automatically introduce some additional text (e.g.: on page 11) beside the figure mention in ...
siv's user avatar
  • 31
2 votes
1 answer
65 views

Why is there an empty \hbox at the end of the text to which a \ref or \pageref expands?

A \ref in LaTeX expands to the text of the current label at the point of the corresponding \label, followed by an empty \hbox. In LaTeX3 this \hbox is an explicit \null in the definition of \\@setref,...
Geraint's user avatar
  • 23
3 votes
1 answer
403 views

In Beamer cannot link/ref/hyperref to a certain slide/frame where a label was placed

This is the code I am using. \documentclass[xcolor=svgnames, aspectratio=169]{beamer} \usepackage[breakwords]{truncate} \usepackage{ragged2e} \usepackage{xcolor,colortbl} \hypersetup{ pdfstartview=...
AmIanonIm's user avatar
0 votes
2 answers
243 views

How to change the format of a single instance of `\pageref`?

For some reason I need to format the page numbers as S-\arabic but want to refer to a single page using \pageref without including the S- prefix but just the \arabic. How to do that? MWE: \...
tvk's user avatar
  • 1,661
3 votes
1 answer
160 views

Get number of pages between two \pagerefs?

I'm working on a thesis in Overleaf, and am experimenting with automatically updating the pagecounts on the title page. I want to update two numbers, the number of pages in the thesis, as well as the ...
Anton Eriksen's user avatar
1 vote
1 answer
273 views

Biblatex pageref customization

I would like to customize the way back references are printed. I would like the list of pages where references are cited to be printed on a new line, just below a bibliographic entry and its eventual ...
Bastien's user avatar
  • 449
2 votes
1 answer
768 views

Reference a figure in a letter

I want to write a letter and include a figure, here's an example: \documentclass[a4paper,11pt]{letter} \usepackage{babel} \usepackage{graphicx} \begin{document} \begin{letter}{ To you } \...
pfnuesel's user avatar
  • 642
1 vote
2 answers
443 views

How to add integer offset to page number from \pageref{SomeLabel}?

I am using the pdfpages package to include 3 pages in my document. I cannot put a \label{} command right on one of the pages because all 3 pages are represented by a single \includepdf command. I ...
user2153235's user avatar
1 vote
1 answer
973 views

How to add page numbering in nomenclature to link to an arbitrary page with a "label"?

I like to create a nomenclature that shows a page number (with \pageref or \hyperlink, etc) pointing to a page elsewhere that I assigned a label. Possibly, this label should be an argument to the ...
Sia's user avatar
  • 219
4 votes
2 answers
284 views

How to make cross-references between parts?

MWE \documentclass{book} \begin{document} \part{ONE} \chapter{One} a\label{sec:a} \section{1-One} c \pageref{sec:e} [please see Part II page 3] %< what I'm trying to write d \pageref{sec:a} [...
Özgür's user avatar
  • 3,280
3 votes
1 answer
220 views

Biblatex citecounter not counting reference in figure caption

I'm using this answer to print the number of times a reference was cited. Biblatex "sees" that the reference was cited in the figure caption but it will not step up the citecounter. The following MWE ...
Jojo's user avatar
  • 1,068
3 votes
1 answer
3k views

LastPage to be set on specific page

I have a very specific issue with the LastPage Package. I'll try and explain the best I can. So I have an article. That uses: \rfoot {Page \thepage \hspace{1pt} of \pageref{LastPage}} To add the ...
wodawick's user avatar
0 votes
0 answers
27 views

Reference all pages where specific label occurs [duplicate]

It seems like a simple question, but I cannot find the solution. In the body of the book the same name, say John Smith is mentioned a number of times. I would like to label this name with \label{Smith}...
user136555's user avatar
2 votes
1 answer
450 views

Page numbering issues with sections/subsections in Beamer

I have a beamer doc in which there are a few section and subsection title slides. Those slides do not have a page number footer, and the footer page numbering do not take them into account. In the ...
Skyork's user avatar
  • 1,147
3 votes
1 answer
901 views

Pagenumber within \cref command

I am writing a script for a lecture in math and have quite a few cross-references in it. Now i have the problem, that the cross-references are sometimes pretty far away from the theorems they refer to....
Kai's user avatar
  • 105