LaTeX forum ⇒ Theses, Books, Title pagesMoving page numbers

Classicthesis, Bachelor and Master thesis, PhD, Doctoral degree
fabriziomiano
Posts: 5
Joined: Thu Jun 08, 2017 6:21 pm

Moving page numbers

Postby fabriziomiano » Wed Jun 21, 2017 12:23 pm

Hi,

thank you guys very much indeed once again for this awesome template and the detailed README you've provided.

Let me go straight to my question:
In the first page of every chapter, the page number is at the bottom, whereas in the other pages it is at the top-right corner.
Is there an easy way to leave the number at the bottom?

I couldn't find an easy one in the layout section in classicthesis.sty; I guess I must be missing something.

Thanks for your help

Cheers,
Fab

Tags:

User avatar
Stefan Kottwitz
Site Admin
Posts: 8453
Joined: Mon Mar 10, 2008 9:44 pm
Location: Hamburg, Germany
Contact:

Postby Stefan Kottwitz » Wed Jun 21, 2017 12:52 pm

Hi Fab!

Chapter or section name and page number are often in the header, but the header is commonly omitted on pages that start with a chapter heading. That's because the heading with the chapter name would be redundant. In that case also the page number goes to the bottom.

You could have the same style for all pages by changing

\pagestyle{scrheadings}

to

\pagestyle{plain}

in the file main.tex. Or simply delete \pagestyle{scrheadings} since plain is already set above. But then you also don't have chapter or section names in the header.

Keeping the names in the header but page numbers in the footer is also a bit strange when I think about it: both is not a decoration but for finding things. A reader searches in the table of contents, gets a section name and a page number, then looks for it in the book. If you separate section name header and page numbers, the reader has to look both at the top and at the bottom of pages to find something.

That's why I would keep header (with chapter or section name) together with the page number. And none of them at a chapter starting page header. Just the number in the bottom. ;-) That's the original way. Just re-consider, maybe you would like to keep that very established way.

Stefan
Site admin

fabriziomiano
Posts: 5
Joined: Thu Jun 08, 2017 6:21 pm

Postby fabriziomiano » Wed Jun 21, 2017 5:30 pm

Hi Stefan,

thanks a lot for your prompt reply and the nice digression.
Although I tried what you suggested I still prefer to have both the header and the page number at the bottom.

Would you be so kind to tell me how to do it, if there's an easy way to do it?

Thank you very much.

Cheers,
Fab

User avatar
Stefan Kottwitz
Site Admin
Posts: 8453
Joined: Mon Mar 10, 2008 9:44 pm
Location: Hamburg, Germany
Contact:

Postby Stefan Kottwitz » Wed Jun 21, 2017 6:07 pm

Hi Fab,

you can add this to your preamble in main.tex:

  1. \rohead{\mbox{\hfil{\headmark}}}
  2. \lehead{\mbox{\headmark\hfil}}
  3. \rofoot{\small\thepage}
  4. \lefoot{\small\thepage}


If it should be centered, replace the last two lines by

\cfoot{\small\thepage}

Stefan
Site admin

fabriziomiano
Posts: 5
Joined: Thu Jun 08, 2017 6:21 pm

Postby fabriziomiano » Mon Jun 26, 2017 5:14 pm

Thank you very much Stefan.
It worked!

Cheers,
Fab


Return to “Theses, Books, Title pages”

Who is online

Users browsing this forum: No registered users and 1 guest