GeneralPagenumbers

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
hormiga123
Posts: 9
Joined: Mon Mar 10, 2008 7:23 pm

Pagenumbers

Post by hormiga123 »

A while ago I have posted a problem with page numbers and still had not solved the issue and now i cannot find the old post...

I would like
- my first page not to have a page number
- have the TOC pages numbered in Roman
- have the rest numbered in Arabic
- have the page numbers centered, and within hyphens, e.g. -1-
- in the TOC i do not want the hyphens to appear

So far i'm working with:

% On the first page:
\thispagestyle{empty}
%First of the TOC pages:
\pagestyle{myheadings}\pagenumbering{Roman}
%first page of the content part:
\pagestyle{myheadings} \pagenumbering{arabic}

However, I still have not figured out how
1) center the page numbers
2) ad hyphens
3) not have the dashes appear in the TOC

Thanks!

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
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Pagenumbers

Post by localghost »

hormiga123 wrote:A while ago I have posted a problem with page numbers and still had not solved the issue and now i cannot find the old post[...]
Just log in and go to the User Control Panel (upper right corner of the page).
hormiga123 wrote:[...]
However, I still have not figured out how
1) center the page numbers
2) ad hyphens
3) not have the dashes appear in the TOC
[...]
All these questions are answered by taking a look at the fancyhdr package.


Best regards
Thorsten¹
Post Reply