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!
General ⇒ Pagenumbers
NEW: TikZ book now 40% off at Amazon.com for a short time.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Pagenumbers
Just log in and go to the User Control Panel (upper right corner of the page).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[...]
All these questions are answered by taking a look at the fancyhdr package.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
[...]
Best regards
Thorsten¹
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10