General ⇒ Pagenumbers
-
- Posts: 9
- Joined: Mon Mar 10, 2008 7:23 pm
Pagenumbers
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!
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- 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¹
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10