GeneralHeaders

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
azr124
Posts: 8
Joined: Tue Oct 21, 2008 2:52 pm

Headers

Post by azr124 »

Hi all,

I have the following problem:

I'm writing a document with several sections which I don't want to be numerated. For example, it may have 3 sections:

-Research
-Teaching
-Service

However, I want the page numbering to appear like this:

A1, A2, A3,... for the first section (Research)
B1, B2, B3,... for the second section (Teaching)
C1, C2, C3,... for the third section (Service)

any idea on how can I achieve this?

thanks a lot!

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
Juanjo
Posts: 657
Joined: Sat Jan 27, 2007 12:46 am

Headers

Post by Juanjo »

The following code may give you some hints:

Code: Select all

\documentclass{article}
\usepackage{lipsum} % just to write blind text

\begin{document}

\setcounter{page}{1}
\renewcommand{\thepage}{A\arabic{page}}
\section*{Research}
\lipsum[1-20]

\newpage
\setcounter{page}{1}
\renewcommand{\thepage}{B\arabic{page}}
\section*{Teaching}
\lipsum[1-20]

\newpage
\setcounter{page}{1}
\renewcommand{\thepage}{C\arabic{page}}
\section*{Service}
\lipsum[1-20]

\end{document}
The CTAN lion is an artwork by Duane Bibby. Courtesy of www.ctan.org.
azr124
Posts: 8
Joined: Tue Oct 21, 2008 2:52 pm

Re: Headers

Post by azr124 »

Hi... it worked perfectly, thanks a lot!
Post Reply