% \filename{thesis.tex}
% \edited{last by stolfi on Fri Jul  8 03:14:03 1988}

% Parameter settings for plain paper format
%   (One-and-a-half-spaced, normal margins)
% Valid for 10-, 11-, and 12-point basic fonts.

% To be input after a font package and papermacros.tex have been loaded.

\catcode`@=11\endlinechar=-1

% PAGE DIMENSIONS

  \message{dimensional parameters ...}

  % \pagewidth=390pt
  % 
  % \textwidth=390pt
  % \textheight=590pt
  % 
  % \hoffset=35pt
  % \voffset=0pt

  \pagewidth=5.9in
  
  \textwidth=5.9in
  \textheight=8.55in

  \hoffset=0.1in
  \voffset=0pt

  \newdimen\bindoffset  % extra \hoffset on binding margin
  \bindoffset=0.5in
  
  \topinsertsep=10pt
  \maxdepth=4pt
  \splitmaxdepth=\maxdimen
  \boxmaxdepth=\maxdimen

% BASELINE DISTANCES

  % \baselinesep=0pt, changed by \normalbaselines
  % \linesep=0pt, changed by \normalbaselines
  % \lineseplimit=0pt, changed by \normalbaselines

  % baselinesep's were "plus 0.3ex", lineseps and parseps were "plus 0.2ex".

  {\bigTXrmfont % big size roman text font
   \global\bigbaselinesep=3.0ex plus 0.0ex                  % was 2.6ex
   \global\biglinesep=0.2ex plus 0.0ex
   \global\bigparsep=0.0ex plus 0.0ex} % Was 0.3 ex % Was 0.85 ex

  {\norTXrmfont % normal size roman text font
   \global\normalbaselinesep=3.0ex plus 0.0ex               % was 2.6ex
   \global\normallinesep=0.2ex plus 0.0ex
   \global\normalparsep=0.0ex plus 0.0ex} % Was 0.3 ex % Was 0.85 ex

  {\smaTXrmfont % small size roman text font
   \global\smallbaselinesep=3.0ex plus 0.0ex                % was 2.6ex
   \global\smalllinesep=0.2ex plus 0.0ex
   \global\smallparsep=0.0ex plus 0.0ex} % Was 0.3 ex % Was 0.85 ex

  {\norTXrmfont
   \global\abovedisplaysep=2.25ex plus 0.75ex minus 0.3ex
   \global\abovedisplayshortsep=0ex plus 0.75ex
   \global\belowdisplaysep=2.25ex plus 0.75ex minus 0.3ex
   \global\belowdisplayshortsep=1.5ex plus 0.75ex minus 0.7ex}

  \jot=3pt
  \def\matrixbaselinesep{1.4\baselinesep}
  \def\matrixcolumnsep{0.5em}

  \def\smallvglue{0.52\baselinesep}
  \def\medvglue{0.85\baselinesep}
  \def\bigvglue{1.35\baselinesep}

% PARAGRAPH FORMAT

  \textindentglue=20pt % indentation of indented paragraphs % was 20pt

  \parindent=40pt                                % was 2\textin..

  \leftglue=0pt
  \rightglue=0pt
  \mathsurround=0pt
  \tabglue=0pt
  \spaceglue=0pt
  \xspaceglue=0pt
  \parfillglue=0pt plus 1fil

  \hfuzz=0.1pt
  
  % \hangindent=0pt, zeroed by TeX after each paragraph
  % \predisplaysize=0pt, set before TeX enters $$

% TITLES ETC.

  \titlewidth=\pagewidth
  \abstrwidth=0.9\textwidth

%  TOP/BOTTOM/MID/FULL-PAGE INSERTS

  \glue\botins=\normalbaselinesep % space before 1st botinsert
  \botinsertsep=0.5\normalbaselinesep % extra glue between botinserts

  \glue\topins=\z@glue % no extra space added when a topinsert is present
  \topinsertsep=0.5\normalbaselinesep % extra glue between topinserts

% ITEMIZED LISTS

  \def\item#1{
    \ifhmode\endgraf\fi \penalty-50
    \smallvskip
    \hmode\llap{#1\enspace}\ignorespaces
  }

% FIGURES

  \omitfiguresfalse
  \captionsonlytrue
  \figcapwidth=0.85\textwidth % width of figure captions
  \mfigwidth=0.30\textwidth % width of marginal figures

% ANNOTATIONS 

  \omitnotesfalse

% FOOTNOTES

  \footindent=20pt % left indentation of footnotes
  \footfigwidth=0.25\textwidth % width of marginal figures

% REFERENCES

  {\norTXrmfont
   \global\refindent=3em         % indentation of reference body
   \global\refremindent=4em % indentation of reference remarks
   \global\refvglue=2ex  % vglue between references
   }

% THEOREMS & PROOFS

  \theostatindent=20pt  % indentation of theorem statements
  \proofindent=20pt  % indentation of proofs

% HEADER FORMAT

    % \makeheadline builds the header line as a box
    % with fixed height (0 pt)
    
    \def\makeheadline{
      \vbox to 0pt{
        \null
        \vss
        \ifnum\pageno>0
          \hbox to \pagewidth{
            \headerfont
            \ifodd\pageno
              \iffirstpage \else\pagetitle\fi \hfil \number\pageno
            \else
              \number\pageno \hfil \iffirstpage \else\pagetitle\fi
            \fi
          }
          \vskip 4 pt
          \hrule
          \vskip 3 pt
          \hrule
        \else
          \hbox to \pagewidth{
            \rm
            \ifnum\pageno=-1 \else 
              \ifodd\pageno
                \hfil \romannumeral-\pageno 
              \else
                \romannumeral-\pageno
              \fi
            \fi
          }
          \vskip 7 pt
          \hrule height 0pt depth 0pt width 0pt
        \fi
      }
    }

  % \makepage puts header, footer, and page contents together:

  \def\makepage{
    \hbox{
      \ifodd\pageno\kern\bindoffset\else\hss\fi
      \vbox to 9.0in{
        \makeheadline
        \vss
        \makepagebody
        \makefootline
      }
      \ifodd\pageno\hss\else\kern\bindoffset\fi
    }
  }

  % \dosupereject flushes out all floating insertions and
  %   prints an extra blank page, if needed, to end in even pageno.
  
  \def\dosupereject
    {\ifodd\pageno\else\null\vfill\supereject\fi
     \ifnum\insertpenalties>\z@ % s.thing is being held over
       \line{}\kern-\topskip\vbreak\forbidden\vfill\supereject\fi
    }

% TABLE OF CONTENTS

% MODE AND FONT INITIALIZATION

  \message{initialization ...}

  \hsize\textwidth
  \vsize\textheight
  \normalsize\rm

\catcode`@=12\endlinechar=`\^^M

% END

