Page Layoutconsistent top margin of TOC and the continued page

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
justfly2004
Posts: 1
Joined: Sat Sep 22, 2012 8:16 am

consistent top margin of TOC and the continued page

Post by justfly2004 »

Hi,

I have a TOC and TABLE OF CONTENTS(Continued) in my thesis. But the top margin of the continued page is much less than the one of TOC.

In the .tex file, TOC is described below

Code: Select all

\tableofcontents
{\setlength
   {\labelwidth}{1in}
    \setlength{\leftmargin}{1.5in}
    \setlength{\labelsep}{0.5in}
    \setlength{\rightmargin}{1.5in}}
In the .cls file, TOC is defined below

Code: Select all

\def\tableofcontents{
   \clearpage
   \typeout{TABLE OF CONTENTS.}
   \def\headmark{
\vbox{
        \hbox to \textwidth{\bfseries\large \hfil TABLE OF CONTENTS
           (Continued) \hfil}
        \vspace{\innerheadskip}
        \hbox to \textwidth{\bfseries\normalsize
           \underbar{CHAPTER}\hfil\underbar{PAGE}}}}
   \pagestyle{continued}
  \table@of@cont
   \newpage
   }
 
\def\table@of@cont{%
   \begin{singlespace}
   \thispagestyle{pageonbottom}
   \@makeschapterhead{TABLE OF CONTENTS}
   \par
   \hbox to \textwidth{\bfseries\underbar{CHAPTER}
       \hfil\underbar{PAGE}}
   \@starttoc{toc}
   \end{singlespace}}
I was told that this inconsistency is due to this command

Code: Select all

   \@makeschapterhead{TABLE OF CONTENTS}
I spent the whole day but could not figure out how to make top margins on TOC and its continued page the same. Any help is appreciated. Thank you!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Post Reply