Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I make custom page numbering in LaTeX? [closed]

Tags:

I have a report with appendixes.

What I want is to use a different style on the page numbering when the appendixes start.

I use Arabic numbering 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?

like image 813
Ikky Avatar asked May 02 '10 12:05

Ikky


People also ask

How do I suppress page numbers in LaTeX?

You could use \pagenumbering{gobble} to switch off page numbering. To switch it on afterwards, use \pagenumbering{arabic} for arabic numbers or alph , Alph , roman , or Roman for lowercase resp. uppercase alphabetic resp.

How do I create a custom page number in LaTeX?

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.


1 Answers

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.

like image 72
glts Avatar answered Nov 15 '22 13:11

glts