%% FILE:   isudoc11.sty in SYS2.TEX.PUB.ISULATEX.STYLES
%% AUTHOR: Erica M. S. Harris
%% DATE:   June 1990
%% DESCR:  11pt dependent code which differs from rep11.sty
%% MODS:
%%
%  ****************************************
%  *            PAGE LAYOUT               *
%  ****************************************
%
% All margin dimensions measured from a point one inch from top and side
% of page.

% SIDE MARGINS:
\if@twoside                 % Values for two-sided printing:
   \oddsidemargin 39pt      %   Left margin on odd-numbered pages.
   \evensidemargin 25pt     %   Left margin on even-numbered pages.
   \marginparwidth 85pt     %   Width of marginal notes.
\else                       % Values for one-sided printing:
   \oddsidemargin 39pt      %   Note the \oddsidemargin = \evensidemargin
   \evensidemargin 39pt
   \marginparwidth 68pt
\fi

\topmargin -3pt          %    Nominal distance from top of page to top of
                         %    box containing running head.
\footskip 35pt
\headheight 15pt

\textheight 42\baselineskip
\advance\textheight by \topskip % \textheight 581.2pt, approx 8.07in
\textwidth 404pt                % Width of text line, approx 6.03in

%  ****************************************
%  *           PARAGRAPHING               *
%  ****************************************
%
\parskip 5pt plus 1pt              % Extra vertical space between paragraphs
\parindent 2em                     % Width of paragraph indentation

%    ****************************************
%    *        CHAPTERS AND SECTIONS         *
%    ****************************************
%

\def\@makechapterhead#1{              % Heading for \chapter command.
    \vspace*{50pt}                    % Space at top of text page.
   {\raggedleft \rightskip 0.5in \Huge \bf
    \ifnum \c@secnumdepth >\m@ne      % if secnumdepth > -1 then
       \thechapter                    %   print chapter number.
       \vskip 20pt \fi
       #1 \clearpage }}               % Title
%    \nobreak                         % TeX penalty to prevent page break
%    \vskip 40pt}}                    % Space between title and text.

\def\@makeschapterhead#1{             % Heading for \chapter* command
    \vspace*{50pt}                    % Space at top of page
    {\raggedleft \rightskip 0.5in
                 \Huge \bf #1         % Title.
     \clearpage}}
%     \nobreak                        % TeX panalty to prevent page break.
%     \vskip 40pt}}                   % Space between title and text.

\def\chapter{\clearpage
    \ifodd\c@page\hbox{}\clearpage\fi  % Start new lefthand page
    \thispagestyle{empty}
    \global\@topnum\z@            % Prevents figures from going at top of page.
    \@afterindenttrue             % Indent first paragraph. Change to
    \secdef\@chapter\@schapter}   % \@afterindentfalse to suppress indent.

% \@chapter modified to allow final optional argument for use in header
% when chapter title too long.
\def\@chapter[#1]#2{\@ifnextchar [{\@iichapter[#1]{#2}}{\@ichapter[#1]{#2}}}

\def\@iichapter[#1]#2[#3]{\ifnum \c@secnumdepth >\m@ne
  \refstepcounter{chapter}
  \typeout{\thechapter.}
  \fi
  \chaptermark{#3}   % Use final optional argument from \chapter for header
  \if@twocolumn
     \@topnewpage[\@makechapterhead{#2}]
  \else
     \@makechapterhead{#2}
     \@afterheading               % Called after chapter and section headings
  \fi
  \ifnum \c@secnumdepth >\m@ne
    \addcontentsline{toc}{chapter}{\protect\numberline{\thechapter.}#1}
  \else
    \addcontentsline{toc}{chapter}{#1}
  \fi
  \addtocontents{lof}{\protect\addvspace{10pt}} % Add between chapter space to
  \addtocontents{lot}{\protect\addvspace{10pt}} % lof and lot
  }
\def\@ichapter[#1]#2{\ifnum \c@secnumdepth >\m@ne
    \refstepcounter{chapter}
    \typeout{\thechapter.}
  \fi
  \chaptermark{#1}     % Use chapter title for header
  \if@twocolumn
     \@topnewpage[\@makechapterhead{#2}]
  \else
     \@makechapterhead{#2}
     \@afterheading            % Called after chapter and section headings
  \fi
  \ifnum \c@secnumdepth >\m@ne
    \addcontentsline{toc}{chapter}{\protect\numberline{\thechapter.}#1}
  \else
    \addcontentsline{toc}{chapter}{#1}
  \fi
  \addtocontents{lof}{\protect\addvspace{10pt}} % Add between chapter space to
  \addtocontents{lot}{\protect\addvspace{10pt}} % lot and lof
  }

\def\section{\@startsection {section}{1}{\z@}
  {3.5ex plus 1ex minus .2ex}{2.3ex plus .2ex}
  {\Large\bf\centering}}
\def\subsection{\@startsection{subsection}{2}{\z@}
  {3.25ex plus 1ex minus .2ex}{1.5ex plus .2ex}
  {\large\bf}}
\def\subsubsection{\@startsection
  {subsubsection}{3}{\z@}{3.25ex plus 1ex minus .2ex}{1ex}
  {\normalsize\bf}}
\def\paragraph{\@startsection {paragraph}{4}{\z@}
  {3.25ex plus 1ex minus .2ex}{-1em}
  {\normalsize\bf}}

