GeneralPage numbering

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
kostoglotov
Posts: 58
Joined: Sun Apr 27, 2008 12:50 pm

Page numbering

Post by kostoglotov »

Hi all.
I have to change numbering in my downloaded template and.. do not know how to do that.
I need to have
Page numbering must consist of one single sequence of Arabic numerals (ie 1, 2, 3
… ) throughout the thesis, starting with the title page as page number 1. Page
numbers must be displayed on all pages EXCEPT the title page.
The cls file of my thesis is attached...
Thank you.
a.k.
Attachments
cls file.tex
(12.62 KiB) Downloaded 227 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Page numbering

Post by Stefan Kottwitz »

Hi,

use

Code: Select all

\thispagestyle{empty}
on your title page and after the title page write:

Code: Select all

\pagenumbering{arabic}
Stefan
LaTeX.org admin
kostoglotov
Posts: 58
Joined: Sun Apr 27, 2008 12:50 pm

Re: Page numbering

Post by kostoglotov »

But i think i have to get rid of those roman pages i guess... ?
User avatar
Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Page numbering

Post by Stefan Kottwitz »

Yes, \pagenumbering{arabic} switches from roman to arabic.
Responsible for roman numbers is this line of your posted class file:

Code: Select all

\renewcommand{\thepage}{roman{page}}
You could also remove this line, because there's even an error inside, the backslash of \roman is missing.

Stefan
LaTeX.org admin
kostoglotov
Posts: 58
Joined: Sun Apr 27, 2008 12:50 pm

Re: Page numbering

Post by kostoglotov »

It is strange. I have replaced it but it still insert there roman pages... Could that be because of a macro files?
I attached main tex file....
a.k.
Attachments
tex.tex
(8.47 KiB) Downloaded 234 times
User avatar
Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Re: Page numbering

Post by Stefan Kottwitz »

I don't know what's in your MacroFile1.tex or in the other included files, but if I complete your last code to make it compilable there are no roman pages.

Stefan
LaTeX.org admin
kostoglotov
Posts: 58
Joined: Sun Apr 27, 2008 12:50 pm

Re: Page numbering

Post by kostoglotov »

cheers
kostoglotov
Posts: 58
Joined: Sun Apr 27, 2008 12:50 pm

Re: Page numbering

Post by kostoglotov »

In macro file there is anything regarding numbering. And now, in my cls file, i have changed roman to arabic, as you said. I did what you recommended in the main tex file as well. So there is non "roman" word mention whatsoever. Yet, after saving changes and running Typeset, I still have there roman pages.... no clue why....
eh..
Post Reply