LaTeX forum ⇒ Page LayoutFirst page# and last page number? Topic is solved

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

First page# and last page number?

Postby bkarpuz » Wed Feb 11, 2009 7:20 pm

Dear all,

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

thanks.

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

Postby localghost » Wed Feb 11, 2009 7:28 pm

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¹
LaTeX Community Moderator
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes


¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1


Return to “Page Layout”

Who is online

Users browsing this forum: No registered users and 5 guests