GeneralPage numbering & TOC

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
ivanwest
Posts: 10
Joined: Fri Jul 11, 2008 1:04 am

Page numbering & TOC

Post by ivanwest »

Hello again,

Back for more beginner questions, if I may.

For my thesis I need my Annexes to be numbered A1, A2, A3,.....
How do I get the "A" to work. I also need this numbering in the TOC.

Thank you in advance for any assistance, it is always greatly appreciated.

Cheers

Ivan

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
Stefan Kottwitz
Site Admin
Posts: 10324
Joined: Mon Mar 10, 2008 9:44 pm

Page numbering & TOC

Post by Stefan Kottwitz »

Hi Ivan,

try

Code: Select all

\renewcommand*\thechapter{A\arabic{chapter}}
before your Annexes, if chapters are used. In case of sections it's similar.

Stefan
Last edited by Stefan Kottwitz on Tue Oct 14, 2008 1:34 pm, edited 1 time in total.
LaTeX.org admin
ivanwest
Posts: 10
Joined: Fri Jul 11, 2008 1:04 am

Re: Page numbering & TOC

Post by ivanwest »

My apologies,

I mean the actual page numbering, not the section or chapter numbering.

Hope you can still help

Ivan
User avatar
Stefan Kottwitz
Site Admin
Posts: 10324
Joined: Mon Mar 10, 2008 9:44 pm

Page numbering & TOC

Post by Stefan Kottwitz »

No problem. The topic title said it, but I've just read the message text. Change the line above to use the page counter instead of the chapter counter:

Code: Select all

\renewcommand*\thepage{A\arabic{page}}
\setcounter{page}{1}
The next line causes the page counter to be reset to 1, now it begins with A1.

Stefan
Last edited by Stefan Kottwitz on Tue Oct 14, 2008 3:27 pm, edited 1 time in total.
LaTeX.org admin
ivanwest
Posts: 10
Joined: Fri Jul 11, 2008 1:04 am

Re: Page numbering & TOC

Post by ivanwest »

Perfect, thank you very much.

Cheers

Ivan
Post Reply