% ---------------------------------------------------------------------
% This is A4.sty in text format.
%
% ---------------------------------------------------------------------
% Currently, A4.sty is just a combination of the document style options
% A4 and A4wide that can be found in the Rochester style archive.
% In the near future, this document style option will be modified,
% especially for use with ten point typefaces.
%
% Version 0.1: 28 Mar 89
%              combined A4.sty and A4wide.sty from Rochester archive
%         0.2: 9 Jun 89
%              decreased \textwidth for 10pt and 11pt
%
% Editor     : Nico Poppelier
% ---------------------------------------------------------------------
%
% `a4' document style option.
% John Pavel, May 1987
%
% Redefines the \textheight and \topmargin
% for A4 paper, as opposed to US paper.
%
% \textwidth is not altered because A4 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
\ifcase \@ptsize
    % modifications for 10 pt
    \textheight 53\baselineskip
\or % modifications for 11 pt
    \textheight 46\baselineskip
\or % modifications for 12 pt
    \textheight 42\baselineskip
\fi
\advance\textheight by \topskip
%
% `A4wide' 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.
%
\ifcase \@ptsize
    % modifications for 10pt
    \textwidth      5.00in    % Width of text line.
  \if@twoside
    \oddsidemargin  0.15in    % Left margin on odd-numbered pages.
    \evensidemargin 0.35in    % Left margin on even-numbered pages.
    \marginparwidth 1.00in    % Width of marginal notes.
  \else
    \oddsidemargin  0.25in    % Note that \oddsidemargin = \evensidemargin
    \evensidemargin 0.25in
    \marginparwidth 0.75in
  \fi
\or % modifications for 11 pt
    \textwidth      5.85in    % Width of text line.
  \if@twoside
    \oddsidemargin  0.10in    % Left margin on odd-numbered pages.
    \evensidemargin 0.15in    % Left margin on even-numbered pages.
    \marginparwidth 1.00in    % Width of marginal notes.
  \else
    \oddsidemargin  0.125in   % Note that \oddsidemargin = \evensidemargin
    \evensidemargin 0.125in
    \marginparwidth 0.75in
  \fi
\or % modifications for 12 pt
    \textwidth      6.375in   % Width of text line.
  \if@twoside
    \oddsidemargin -10pt      % Left margin on odd-numbered pages.
    \evensidemargin 10pt      % Left margin on even-numbered pages.
    \marginparwidth 1.0in     % Width of marginal notes.
  \else
    \oddsidemargin  0.0in     % Note that \oddsidemargin = \evensidemargin
    \evensidemargin 0.0in
    \marginparwidth 0.75in
  \fi
\fi
