%                                                                               
% "moretext" document style option.                                             
% Jean-Francois Lamy, July 86                                                   
%                                                                               
% Redefines the margins so that they are more in line with                      
% what we are used to see.                                                      
%                                                                               
                                                                                
%
% "a5" document style option.
% J�rg Thomsen, Dez 1990
%
% Redefines the \textheight and \topmargin for A5 paper, as opposed to US paper.

% \textwidth is not altered because A5 is narrower than US paper.
%
% \textheight is the height of text (including footnotes and figures,
% excluding running head and foot).
%
% Adjusting \textheight will adjust position of the bottom of the page.
% Must preserve "(\textheight - \topskip) divides \baselineskip".
% \topskip always appears to be 10pt.
%
%
% Following Lamport's change to other style files on 24 Jun 86,
% changed to explicitly compute \textheight to avoid roundoff.  The
% value of the multiplier was calculated as the floor of the old
% \textheight minus \topskip, divided by \baselineskip for
% \normalsize.
%
%
%
\topmargin 0 pt     %    Nominal distance from top of paper to top of page
\hoffset -0.5in
\voffset -0.5in
\ifcase \@ptsize
    % mods for 10 pt
    \textheight 37\baselineskip
\or % mods for 11 pt
    \textheight 32\baselineskip
\or % mods for 12 pt
    \textheight 29\baselineskip
\fi
\advance\textheight by \topskip                                                                                
\ifcase \@ptsize                                                                
    % mods for 10 pt                                                            
    \oddsidemargin .50 in      %   Note that \oddsidemargin = \evensidemargin  
    \evensidemargin.25 in                                                     
    \marginparwidth .4 in                                                     
    \marginparsep .05in
    \textwidth 4 in
    \footskip 18pt
\or % mods for 11 pt                                                            
    \oddsidemargin  0.71 in      %   Left margin on odd-numbered pages.           
    \evensidemargin 0.10 in    %   Left margin on even-numbered pages.          
    \marginparwidth 0.71 in       %   Width of marginal notes.                     
    \oddsidemargin 0.088 in    %   Note that \oddsidemargin = \evensidemargin   
    \evensidemargin 0.088 in                                                    
    \marginparwidth 0.53 in                                                     
    \textwidth 4.333 in         % Width of text line.                                   
\or % mods for 12 pt                                                            
    \oddsidemargin -7.07 pt      %   Left margin on odd-numbered pages.           
    \evensidemargin 7.07 pt      %   Left margin on even-numbered pages.          
    \marginparwidth 0.707 in       %   Width of marginal notes.                     
    \oddsidemargin 0 in      %   Note that \oddsidemargin = \evensidemargin     
    \evensidemargin 0 in                                                        
    \marginparwidth 0.53 in                                                     
    \textwidth 4.500 in    % Width of text line.                              
\fi                                                                             
