## LaTeX forum ⇒ Document Classes ⇒ Page number restarts in the middle of document

Information and discussion about specific document classes and how to create your own document classes.
mecatuls
Posts: 17
Joined: Thu Jun 26, 2008 9:41 am

### Re: Page number restarts in the middle of document

Yea, that is the first thing I tried. But the place where page number restarts only contains text with lot of \cref commands and figures. I have not specified anything to reset the page number.

Can anyone help me out ? Is it due to any conflicting package or wrong settings?

Thanks and Regards,

mecatuls
Posts: 17
Joined: Thu Jun 26, 2008 9:41 am
Hello,

I have not defined any command in the text that changes the page number.

If i include all chapters in my master file, page numbers are restarting in ch5. I checked the contents of that chapter but i hve not reset page numbering anywhere in it.

So to check, i removed ch5 from the master file. Now when I compile it, page number restarts itself from the page where references start. That too not from 1, but 68.

I feel it is because of some conflicting package or some wrong settings in my pre-amble

Can anyone help?

Thanks and Regards,
Atul

mecatuls
Posts: 17
Joined: Thu Jun 26, 2008 9:41 am
Hi,

I am not sure if anyone else faced this kind of problem. But this problem of page number restarting in the middle of document is due to some conflicting package. If I add package fncychap then that problem goes off.

For now the problem is resolved. But please do let me know if anyone also has faced this kind of issue.

Thanks and Regards,
Atul

jorisjoris
Posts: 1
Joined: Wed Nov 25, 2009 9:07 pm
Hello,

I have the same problem. Here is a small example:

Best,

J.

\documentclass{amsart}

\textwidth 6in

\usepackage{mathpazo}
\usepackage{setspace}
\usepackage{lipsum}
\usepackage{cleveref}
\usepackage
[expansion,protrusion=false,tracking=false,kerning=true,spacing=true]
{microtype}

\setstretch{1.5}

\begin{document}

\section{Introduction}

\setcounter{page}{4}
\label{hello}
\clearpage

\subsection{Basic Rank Condition}

\lipsum[1-9]

\Cref{hello}

\end{document}

lkjlkjlkj
Posts: 1
Joined: Tue Feb 18, 2020 7:09 pm
I was having the same problem when compiling my sandwich'-style thesis. The problem turned out to be that my individual papers contained abstracts delimited by

Code: [Select all] [Expand/Collapse] [Download] ({untitled.tex})
\begin{abstract} blah blah blah \end{abstract}`

Apparently, this environment triggers a page numbering reset. I refactored my original documents to have the abstract content in a separate file, so that I could include it in my thesis without the surrounding environment.

Not sure if this is your problem, but it could be.

Return to “Document Classes”

### Who is online

Users browsing this forum: No registered users and 2 guests