<HTML><HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.19154"></HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV>I am using Memoir class template for my thesis. One nagging problem that I cannot seem to fix occurs on continuation pages of the TOC and the main body. I am focusing on the TOC right now and hope that the fix will apply to the other parts. The problem is that I need a 1.0 inch top and bottom margin throughout the entire document. Any header must be 1" below page top and any text double spaced below the header. I have titile, abstract , acknowledge, first page of TOC and first page of main text body set OK. The second page of TOC should look like this:</DIV>
<DIV> </DIV>
<DIV>*** top of page ***</DIV>
<DIV> </DIV>
<DIV>1"</DIV>
<DIV> </DIV>
<DIV>Chapter                                                page</DIV>
<DIV>    (double space)    </DIV>
<DIV>       Section</DIV>
<DIV> </DIV>
<DIV>Instead, it is :</DIV>
<DIV> </DIV>
<DIV>*** top of page ***</DIV>
<DIV><< 1"</DIV>
<DIV>Chapter                                              page</DIV>
<DIV>       Section</DIV>
<DIV> </DIV>
<DIV>(note that the above is not the actual tex output. But closely represents the output)...</DIV>
<DIV> </DIV>
<DIV>Similarly, the main body pages following the first page are also << 1". I believe the top margin for these pages are the same as for the second TOC page. </DIV>
<DIV> </DIV>
<DIV>I have been working on this for days and have tried everything I can come up with. The only commands that seem to do anything unfortunately effect both the first TOC and the second. Any help would be very much appreciated. </DIV>
<DIV> </DIV>
<DIV>Thanks again,</DIV>
<DIV> </DIV>
<DIV>Bruce</DIV>
<DIV> </DIV>
<DIV>MWE:</DIV>
<DIV> </DIV>
<DIV>.tex code: </DIV>
<DIV> </DIV>
<DIV>    \documentclass[oneside,12pt]{memoir}<BR>    \DoubleSpacing         % memoir's double spacing<BR>    \usepackage{mypkg}     % this package<BR>    \topmargin -0.4125in        % read Lamport p.163<BR>    \evensidemargin 0in   % same as oddsidemargin but for left-hand pages<BR>    \textheight 9.1in <BR>    \parskip 7.2pt           % sets spacing between paragraphs<BR>    \parindent 0pt          % sets leading space for paragraphs<BR>    \DoubleSpacing<BR>    \begin{document}<BR>    \maxtocdepth{subparagraph} % put everything into the ToC<BR>    \pagestyle{toc}<BR>    \tableofcontents*<BR>    \mainmatter<BR>    \pagestyle{toc}<BR>    \addtocontents{toc}{\cftpagenumbersoff{chapter}}<BR>    \addcontentsline{toc}{chapter}{CHAPTER}<BR>    \addtocontents{toc}{\cftpagenumberson{chapter}}<BR>    \pagestyle{plain}<BR>    \chapter{INTRODUCTION} <BR>    \section{Background and Motivation}<BR>    \chapter{TWO} <BR>    \section{Why ?}<BR>    \chapter{THREE} <BR>    \section{Why not ?}<BR>    \subsection{Qualitat ave Qequirements}<BR>    \chapter{THREE} <BR>    \section{Qualitat ave Qequirements}<BR>    \chapter{THREE} <BR>    \section{Qualitat ave Qequirements}<BR>    \chapter{THREE} <BR>    \section{Qualitat ave Qequirements}<BR>    \chapter{THREE} <BR>    \section{Qualitat ave Qequirements}<BR>    \chapter{THREE} <BR>    \section{Qualitat ave Qequirements}<BR>    \chapter{THREE} <BR>    \section{Qualitat ave Qequirements}<BR>    \chapter{THREE} <BR>    \section{Qualitat ave Qequirements}<BR>    \chapter{THREE} <BR>    \section{Qualitat ave Qequirements}<BR>    \chapter{THREE} <BR>    \section{Qualitat ave Qequirements}<BR>    \end{document}</DIV>
<DIV> </DIV>
<DIV>My package file: </DIV>
<DIV> </DIV>
<DIV>    \NeedsTeXFormat{LaTeX2e}<BR>    \ProvidesPackage{mypkg}<BR>    \@ifclassloaded{memoir}{\let\endpwasu\relax}{\let\endpwasu\endinput<BR>      \PackageError{pwasu}{The pwasu package only works with the memoir class}{\@ehd}}<BR>    \endpwasu<BR>    % Some useful lengths for layout purposes<BR>    \newlength{\toptafiddle}<BR>    \newlength{\bottafiddle}<BR>    \newlength{\topfiddle}<BR>    \newlength{\botfiddle}<BR>    \newlength{\linespace}<BR>    \setlrmarginsandblock{1.375in}{1.375in}{*}<BR>    %% bottom of text at 1in, footer below<BR>    %% top of header at 1in, first text line double spaced below base of header<BR>    \setlength{\linespace}{\baselineskip} %% the current equivalent of \onelineskip<BR>    \setlength{\headheight}{\lineskip}<BR>    \setlength{\headsep}{\linespace}<BR>    \addtolength{\headsep}{-\topskip}<BR>    \setlength{\uppermargin}{1in}<BR>    \makepagestyle{asu}<BR>    %% for continuation pages of the ToC, LoF, LoT, LoS<BR>    \makepagestyle{toc}<BR>      \makeevenfoot{toc}{}{\thepage}{}<BR>      \makeoddfoot{toc}{}{\thepage}{}<BR>      \makeevenhead{toc}{CHAPTER}{}{Page}<BR>      \makeoddhead{toc}{CHAPTER}{}{Page}<BR>    %% chapter style<BR>    \makechapterstyle{asu}{%<BR>    \setlength{\beforechapskip} {-.5\topfiddle}<BR>    \setlength{\afterchapskip} {\onelineskip}<BR>      \setlength{\beforechapskip}{-0.2in}<BR>      \setlength{\afterchapskip}{3pt}<BR>      \renewcommand*{\chapnamefont}{\normalfont}<BR>      \renewcommand*{\chapnumfont}{\chapnamefont}<BR>      \renewcommand*{\printchapternum}{\centering\chapnumfont \thechapter}<BR>      \renewcommand*{\chaptitlefont}{\normalfont\centering\vspace*{-\onelineskip}}<BR>      \renewcommand*{\printchapternonum}<BR>    <BR>    }<BR>    %%% (subsub)section styles<BR>    \setsecheadstyle{\centering\normalfont\vspace*{-\onelineskip}}<BR>    \setsubsecheadstyle{\centering\itshape\vspace*{-\onelineskip}}<BR>    \setsubsubsecheadstyle{\centering\vspace*{-\onelineskip}}<BR>    \setlength{\aftersecskip}{3pt}<BR>    %%%% Do the ToC<BR>    \let\oldtoc\tableofcontents<BR>    \renewcommand{\tableofcontents}{\clearpage\pagestyle{toc}\oldtoc}<BR>     \renewcommand{\contentsname}{TABLE OF CONTENTS}<BR>    \renewcommand*{\tocheadstart}{\vspace*{-.0225in}}<BR>    \renewcommand*{\aftertoctitle}{\thispagestyle{plain}%<BR>      \par\nobreak \mbox{}\hfill{\normalfont Page}\par\nobreak}<BR>    \renewcommand*{\cftchapterfont}{\normalfont}<BR>    \renewcommand*{\cftchapterpagefont}{\normalfont}<BR>    \renewcommand*{\cftchapterleader}{%<BR>      \cftchapterfont\cftdotfill{\cftchapterdotsep}}<BR>    \renewcommand*{\cftchapterdotsep}{\cftdotsep}<BR>    \setlength{\cftbeforechapterskip}{0pt plus 0pt}<BR>    \chapterstyle{asu}<BR>    \endinput<BR></DIV></BODY></HTML>