# Memoir class top margin varies throughout the document. It needs to be 1" exactly throughout [closed]

This is the pagestyle stuff shown for ToC only, others are similar:

\makepagestyle{toc}
\makeevenfoot{toc}{}{\thepage}{}
\makeoddfoot{toc}{}{\thepage}{}
\DoubleSpacing
\makeevenhead{toc}{CHAPTER}{}{Page}
\makeoddhead{toc}{CHAPTER}{}{Page}


This is I believe the main table creation code:

\let\oldtoc\tableofcontents
\renewcommand{\tableofcontents}{\clearpage\pagestyle{toc}\oldtoc}

\renewcommand{\contentsname}{TABLE OF CONTENTS}
\renewcommand{\listfigurename}{LIST OF FIGURES}
\renewcommand{\listtablename}{LIST OF TABLES}
\renewcommand*{\tocheadstart}{\vspace*{-\topfiddle}}
\renewcommand*{\aftertoctitle}{\thispagestyle{plain}%
\par\nobreak \mbox{}\hfill{\normalfont Page}\par\nobreak}
\renewcommand*{\cftchapterfont}{\normalfont}
\renewcommand*{\cftchapterpagefont}{\normalfont}
\renewcommand*{\cftchapterleader}{%
\cftchapterfont\cftdotfill{\cftchapterdotsep}}
\renewcommand*{\cftchapterdotsep}{\cftdotsep}
%\renewcommand*{\cftchaptername}{CHAPTER~}
%%% no extra space before the entry
\setlength{\cftbeforechapterskip}{0pt plus 0pt}
%% no extra 'chapter' space in LoF/LoT
\renewcommand*{\insertchapterspace}{}


This is what is in my .tex file. Basic:

\newpage
\pagestyle{toc}
\tableofcontents*
\listoftables   % if you have any tables
\listoffigures  % if you have any figures
\mainmatter
\pagestyle{toc}
\addtocontents{toc}{\cftpagenumbersoff{chapter}}
\addcontentsline{toc}{chapter}{CHAPTER}
\addtocontents{toc}{\cftpagenumberson{chapter}}


-

## closed as too localized by lockstep, Joseph Wright♦Dec 3 '11 at 21:03

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center. If this question can be reworded to fit the rules in the help center, please edit the question.

I included a image showing some examples. Not sure what happened to it. Basically, the title, abs and ack sections are ok. Goes bad at TOC and stays that way through out remainder. Have tried playing with the \pagestyle but not helping. THANKS. –  brucebond007 Nov 11 '11 at 3:54
I tried to salvage the question. However, it would be extremely helpful if you could reduce the 3 code segments you provided in your post into a single, minimal working example (MWE) that includes your title, abstract (abs), a first chapter, and maybe the acknowledgements (ack). –  Werner Nov 11 '11 at 4:10
Are you sure you don't exceed the declared height of the header somewhere? AFAIR, this might generate similar problems. –  mbork Nov 13 '11 at 10:19
@mbork. A working MWE is shown on a follow-up question I posted:" Problem with continuation of TOC in Memoir Class". If you check the package code, I believe the header height is specified there - but I am no expert by any means. I have learned quite a bit over the last week and and half. Still can't get the thing to work though...Thanks. –  brucebond007 Nov 14 '11 at 23:40
Thanks, I threw in my comment only to mention one possible reason; I didn't have time to read you post carefully (not to mention to analyze the MWE). Sorry for that, it is all I can do now... –  mbork Nov 15 '11 at 1:28