1

I use two side book document class. I have a problem with page numbering. I would have gone some pages counted and I do not actually want it to be counted as part of the book.there are some one side page.I want every paper of them get only one number,mean it to be counted one time.

4

1 Answer 1

2

This uses the \SuspendCounters feature of (my) package assoccnt, which prevents specific counters to be increased until \ResumeSuspendedCounters is used.

I additionally 'killed' the page number formatting to prevent the page numbers to appear.

\documentclass[twoside]{book}

\usepackage[globalsuspend=true]{assoccnt}
\usepackage{blindtext}

\begin{document}

\tableofcontents

\chapter{First}

\blindtext[20]

\clearpage
\SuspendCounters{page}
\let\thepageorig\thepage
\renewcommand{\thepage}{}
\chapter{Second}


\blindtext[20]

\ResumeSuspendedCounters%
\let\thepage\thepageorig

\chapter{Third}

\blindtext[20]

\end{document}

Edit -- Now the 'same' document without suspending the page counter

\documentclass[twoside]{book}

\usepackage{blindtext}

\begin{document}
\tableofcontents

\chapter{First}

\blindtext[20]

\clearpage
\chapter{Second}
\blindtext[20]
\chapter{Third}

\blindtext[20]

\end{document}

enter image description here

And now without suspension -- Chapter 2 is used with page number 9

enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .