# How to turn on numbers on the first pages of my sections?

Here is my code:

\documentclass[a4paper,12pt,times,numbered,print,index, oneside]{Classes/PhDThesisPSnPDF}
\usepackage{titlesec}
\begin{document}
\frontmatter
\begin{titlepage}
\maketitle
\end{titlepage}
\include{Abstract/abstract}

\tableofcontents
\listoffigures
\listoftables
\printnomenclature

\mainmatter

my text
\end{document}


So the structure of my document is the following:

1. The title page (treated as the first one in roman numbers, but the number isn't displayed).

2. The table of contets, abstract, etc. (not the main part of my thesis)- numbered using roman numbers.

3. My main thesis-numbered using arabic numbers.

I'd like to have a roman number on each page of the second part of my text. However, roman numbers aren't displayed on the page if this is the first page of a section (i.e. the abstract or the list of figures).

How can I diable this bevaviour? I'd like to have all my roman numbers (excpet for the title).

• This depends on the document class -- your document isn't compilable, yet. What is the 2nd part of your text? – user31729 May 14 '16 at 18:37
• @ChristianHupfer, I'm using the a4paper class. – user2738748 May 14 '16 at 18:39
• As far as I know there's no a4paper class -- that's a class option. And your example is still not compilable – user31729 May 14 '16 at 18:41
• Do you plan to provide this as a thesis to the Cambridge University? The empty page style is by class design, so this seems to be a demand of the thesis design! – user31729 May 14 '16 at 19:02
• I see -- basically any command has this rubbish \thispagestyle{empty} specification, leaving empty pages then. It's a tedious work to get rid of them – user31729 May 14 '16 at 19:05

If you are willing to live risky, you can add the following after your title page.

I cannot recommend that solution, though. It is against the design of the template. The author must have had some reasoning when coming up with that.

Basically, that replaces all instances of an empty page with a plain page. All of them after you do this.

\makeatletter
\let\ps@empty\ps@plain
\makeatother

• That's what I had in mind too, but it's too risky! – user31729 May 15 '16 at 17:21
• @ChristianHupfer That is why i added the warning. The whole thing is buggy. – Johannes_B May 15 '16 at 17:24
• Could you explain to me why it is too risky and what the difference between a plain page and an empty page is? – user2738748 May 15 '16 at 19:41
• @user2738748 plain page has page number, empty page not. Risky: there could be problems, that you can revert, but need a new solution for the problem above. – Johannes_B May 15 '16 at 19:45
• @Johannes_B, but why would there be a problem with your solution? – user2738748 May 16 '16 at 6:59