How do i make custom page numbering in latex?

Ikky picture Ikky · May 2, 2010 · Viewed 44.5k times · Source

I have a report, where i also have appendixes. What i want is to use a different style on the page numbering when the appendixes start.

I use arabic until I reach the appendixes. Then I would want to do something like this:

I want the custom page numbering to be:

Chapter: A
Section: {Chapter}{1}       (A-1)
\newpage
\pagenumbering{custompagenumbering}

Is this possible to do?

Answer

glts picture glts · May 2, 2010
Some paragraph. Some paragraph. Some paragraph. Some paragraph. Some paragraph.

\newpage
\setcounter{page}{1}
\renewcommand{\thepage}{A-\arabic{page}}

Some paragraph. Some paragraph. Some paragraph. Some paragraph. Some paragraph.

Would this be anywhere near what you want to do? This is how you can manipulate the page counter, and the \thepage command that determines what will be printed as page number. \roman{page} would give roman numbers, \alph{page} a, b, c ...

The other sensible solution is to use the fancyhdr package, as suggested before.