3

I need to have continuous page numbering from start to end for my thesis, i.e. the title page should be page number 1 and if there are 100 pages in all, the last page should be numbered 100. Thus every single page needs to be numbered. I found the following to work for this:

\makeatletter
 \renewenvironment{titlepage}
  {%
   \if@twocolumn
    \@restonecoltrue\onecolumn
   \else
    \@restonecolfalse\newpage
   \fi
   % \thispagestyle{empty}% remove the empty page style
   %\setcounter{page}\z@ %remove the counter reset
 }%
\makeatother

Now, above segment gives me a continuous page numbering (at the bottom of each page) without any problem. But when I try to generate the 'Table of contents' (toc) for the thesis, I see that the 'toc' displays incorrect page number against the first section of the first chapter (which is the by default the first entry in the toc). Is there something I am missing? Any help is appreciated.

closed as unclear what you're asking by lockstep, Jesse, Werner, Peter Jansson, Andrew Swann Jan 28 '14 at 18:11

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 2
    You should post an MWE so we can see which packages you use. With Komascript and their scrheadings this should not be a problem. – papabravo Dec 12 '13 at 23:15
  • 2
    Can you give a Minimal Working Example demonstrating the problem? Right now, people don't even know what document class you are using or whether you've identified any particular packages you load as contributing to the issue. – cfr Dec 12 '13 at 23:15