Page LayoutFirst page# and last page number?

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
bkarpuz
Posts: 124
Joined: Thu Dec 18, 2008 4:53 pm

First page# and last page number?

Post by bkarpuz »

Dear all,

I wonder if there is a command to retrieve the first and the last page numbers?

thanks.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

First page# and last page number?

Post by localghost »

You could refer to the first page with the \pageref command with a label from which you know is surely set on the first page. The lastpage package works similar for the last page.


Best regards
Thorsten¹
Post Reply