Page LayoutFrom Roman to Arabic

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
dlopes7
Posts: 4
Joined: Sat Mar 06, 2010 10:12 am

From Roman to Arabic

Post by dlopes7 »

Hi all!

How can I change the Page Numbering from Roman to Arabic without reseting the page counter?

If I use:

Code: Select all

\pagenumbering{arabic}
\setcounter{page}{WHAT_WOULD_I_INSERT_HERE}
Without the second line I would change to arabic but reseting the page counter to 1.

Is there any variable I can use on "WHAT_WOULD_I_INSERT_HERE" to get the number of the page before the actual one?

Recommended reading 2024:

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

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Re: From Roman to Arabic

Post by frabjous »

Don't use the \pagenumbering command. That resets the counter. Just use:

\renewcommand{\thepage}{\arabic{page}}
dlopes7
Posts: 4
Joined: Sat Mar 06, 2010 10:12 am

Re: From Roman to Arabic

Post by dlopes7 »

Thank you very much, precisely what I needed.
Post Reply