Skip to main content
5 votes
Accepted

Page number after clearpage, definitely known?

No. Consider: \documentclass[10pt]{book} \begin{document} \frontmatter \tableofcontents \clearpage \typeout{Page \thepage} \mainmatter \chapter{one} \end{document} The console output reports Page ii....
cfr's user avatar
  • 219k
2 votes
Accepted

How to limit `\lastpageref` to current/local pagination scheme when using multiple schemes (of the same type) with `pageslts`?

You nearly got it with \rfoot{\theCurrentPageLocal~of~\lastpageref*{pagesLTS.arabic.1}} \rfoot{\theCurrentPageLocal~of~\lastpageref*{pagesLTS.arabic.2}} \rfoot{\thepage~of~\lastpageref*{pagesLTS....
Stephen's user avatar
  • 15.3k
2 votes

Page number after clearpage, definitely known?

I think @cfr's answer does handle the question that was actually asked in the OP, but there's still some discussion in the comments regarding the use case at hand. I suggested that a pair of ...
gusbrs's user avatar
  • 14.6k
1 vote
Accepted

Trying to Turn Off TOC Subsection Page Numbers with \titletoc Application

The starred version of \titlecontents is used for setting content entries within a paragraph style and has the following form: \titlecontents*{<section>} [<left>] {<above-code>} ...
Werner's user avatar
  • 615k
1 vote

Create new counter and give it a specific value

The lastpage package does \gdef\lastpage@lastpage{??}, but if you want to use it for computations, \usepackage{lastpage} \makeatletter \gdef\lastpage@lastpage{1} \makeatother sets it to one and at \...
Stephen's user avatar
  • 15.3k
1 vote

Page numbering 143/141

The current version of modern lastpage uses \AddToHook{enddocument/afterlastpage}{...}, thus there can be no pages after the label. If an old LaTeX format is used, lastpage falls back to \...
Stephen's user avatar
  • 15.3k

Only top scored, non community-wiki answers of a minimum length are eligible