TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This is basically continuation of earlier questions. I managed to fix (brute force) most issues. This one effects continuation pages of TOC, TOF, and chapters pages after the first. I assume it is the same issues throughout. As you can see, the continuation pages have the header single spaced from rest of the text PLUS it is not spaced correctly. As before, all text must start 1.0" from top of page. Thanks in advance for your help.Image shows first and continuation pages of TOC. The TOC header is very close to 1" from page top and (unseen) subsections are double spaced below 'CHAPTER'. Below is continuation of TOC and 'CHAPTER' is not 1" spaced and subsections not double spaced. None of the fixes for other vertical spacing issues seems to effect this whatsoever. Thanks

.tex code:

\DoubleSpacing         % memoir's double spacing
\usepackage{mypkg}     % this package
\topmargin -0.4125in        % read Lamport p.163
\evensidemargin 0in     % same as oddsidemargin but for left-hand pages
\textheight 9.1in 
\parskip 7.2pt           % sets spacing between paragraphs
\parindent 0pt          % sets leading space for paragraphs
\maxtocdepth{subparagraph} % put everything into the ToC
\section{Background and Motivation}
\section{Why ?}
\section{Why not ?}
\subsection{Qualitat ave Qequirements}
\section{Qualitat ave Qequirements}
\section{Qualitat ave Qequirements}
\section{Qualitat ave Qequirements}
\section{Qualitat ave Qequirements}
\section{Qualitat ave Qequirements}
\section{Qualitat ave Qequirements}
\section{Qualitat ave Qequirements}
\section{Qualitat ave Qequirements}
\section{Qualitat ave Qequirements}

My package file:

  \PackageError{pwasu}{The pwasu package only works with the memoir class}{\@ehd}}
% Some useful lengths for layout purposes
%% bottom of text at 1in, footer below
%% top of header at 1in, first text line double spaced below base of header
\setlength{\linespace}{\baselineskip} %% the current equivalent of \onelineskip
%% for continuation pages of the ToC, LoF, LoT, LoS
%% chapter style
\setlength{\beforechapskip} {-.5\topfiddle}
\setlength{\afterchapskip} {\onelineskip}
  \renewcommand*{\printchapternum}{\centering\chapnumfont \thechapter}

%%% (subsub)section styles
%%%% Do the ToC
 \renewcommand{\contentsname}{TABLE OF CONTENTS}
  \par\nobreak \mbox{}\hfill{\normalfont Page}\par\nobreak}
\setlength{\cftbeforechapterskip}{0pt plus 0pt}
share|improve this question

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.

So is this question a duplicate of tex.stackexchange.com/questions/34437/…, just with a more complete MWE? – Werner Nov 12 '11 at 7:08
It may not be clear from my problem statement and image, but text must start 1" below top of page and then (if header of any sort) the subsequent text must be double-spaced below the header. Thanks! – brucebond007 Nov 12 '11 at 7:39
Note that you can edit existing questions to include more information. If @Werner is right you should simply update your original question instead of posting a new one. – Martin Scharrer Nov 12 '11 at 7:41
Werner, in addition to adding the MWE, I have managed to fix several sections (well, two actually - the TOC first page and the main text, first page only) top margin issues. I am requesting help on the TOC second page specifically and hope that a similar solution will fix the rest of the top margin issues. – brucebond007 Nov 12 '11 at 7:47
I see a small error. \ProvidesPackage{pwasu} should reference mypkg. Seems to work OK this way however. – brucebond007 Nov 12 '11 at 8:26