% rep11.sty 19-Jan-88
% this itchapter11.sty differs in no useful way from repcit11.sty
% at Jan 97 (when it was first created)

% % Probably should not use this - just use itchapter11.cls now! Wed 20/2/02
%

\lineskip 1pt \normallineskip 1pt
\def\baselinestretch{1}

\def\@normalsize{\@setsize\normalsize{13.6pt}\xipt\@xipt
\abovedisplayskip 11pt plus3pt minus6pt\belowdisplayskip \abovedisplayskip
\abovedisplayshortskip \z@ plus3pt\belowdisplayshortskip 6.5pt plus3.5pt
minus3pt\let\@listi\@listI} 
\def\small{\@setsize\small{12pt}\xpt\@xpt
\abovedisplayskip 10pt plus2pt minus5pt\belowdisplayskip \abovedisplayskip
\abovedisplayshortskip \z@ plus3pt\belowdisplayshortskip 6pt plus3pt minus3pt
\def\@listi{\leftmargin\leftmargini \topsep 6pt plus 2pt minus 2pt\parsep 3pt
plus 2pt minus 1pt
\itemsep \parsep}}
\def\footnotesize{\@setsize\footnotesize{11pt}\ixpt\@ixpt
\abovedisplayskip 8pt plus 2pt minus 4pt\belowdisplayskip \abovedisplayskip
\abovedisplayshortskip \z@ plus 1pt\belowdisplayshortskip 4pt plus 2pt minus
2pt
\def\@listi{\leftmargin\leftmargini \topsep 4pt plus 2pt minus 2pt\parsep 2pt
plus 1pt minus 1pt
\itemsep \parsep}}
\def\scriptsize{\@setsize\scriptsize{9.5pt}\viiipt\@viiipt}
\def\tiny{\@setsize\tiny{7pt}\vipt\@vipt}
\def\large{\@setsize\large{14pt}\xiipt\@xiipt}
\def\Large{\@setsize\Large{18pt}\xivpt\@xivpt}
\def\LARGE{\@setsize\LARGE{22pt}\xviipt\@xviipt}
\def\huge{\@setsize\huge{25pt}\xxpt\@xxpt}
\def\Huge{\@setsize\Huge{30pt}\xxvpt\@xxvpt}
\normalsize 

%
% changed by DJCM to put big margins on edges for double printing style. 
% but this is overridden in chapternotes.sty anyway, so this was pointless
%
\if@twoside 
\evensidemargin 36pt \oddsidemargin 74pt \marginparwidth 100pt
% was (in repcit)
%\oddsidemargin 36pt \evensidemargin 74pt \marginparwidth 100pt
\else \oddsidemargin 54pt \evensidemargin 54pt
 \marginparwidth 83pt 
\fi
\marginparsep 10pt 
 \topmargin 27pt \headheight 12pt \headsep 25pt \footskip 30pt 

\textheight = 38\baselineskip
\advance\textheight by \topskip
\textwidth 360pt \columnsep 10pt \columnseprule 0pt

\footnotesep 7.7pt 
\skip\footins 10pt plus 4pt minus 2pt 
\floatsep 12pt plus 2pt minus 2pt \textfloatsep 20pt plus 2pt minus 4pt
\intextsep 12pt plus 2pt minus 2pt \@maxsep 20pt \dblfloatsep 12pt plus 2pt
minus 2pt \dbltextfloatsep 20pt plus 2pt minus 4pt \@dblmaxsep 20pt 
\@fptop 0pt plus 1fil \@fpsep 8pt plus 2fil \@fpbot 0pt plus 1fil 
\@dblfptop 0pt plus 1fil \@dblfpsep 8pt plus 2fil \@dblfpbot 0pt plus 1fil
\marginparpush 5pt 

% Mon 4/2/02 changed parindent  to be a little bigger
% parindent is the indentation of the first line of each par
% was 17pt                       VVVV
\parskip 0pt plus 1pt \parindent 19pt \partopsep 3pt plus 1pt minus 2pt 
\@lowpenalty 51 \@medpenalty 151 \@highpenalty 301 
\@beginparpenalty -\@lowpenalty \@endparpenalty -\@lowpenalty \@itempenalty
-\@lowpenalty 


% changed djcm 18 oct 93 from raggedright and from huge bf
%
% This does the numbered chapter  (\em is not available in Huge, but huge is ok)
%
% jan 2000 I adjusted the spaces and cut out the chapter word
% \def\@makechapterhead#1{ \vspace*{30pt} { \parindent 0pt \centering
% \ifnum \c@secnumdepth >\m@ne \LARGE\sc \@chapapp{} \thechapter \par 
% \vskip 20pt \fi \huge \sl #1\par 
\def\@makechapterhead#1{ \vspace*{15pt} { \parindent 0pt \centering
 \ifnum \c@secnumdepth >\m@ne \Huge\sc  \thechapter \par
% before jan 2000, this was: 
% \vskip 26pt \fi  \huge \sl #1\par 
 \vskip 10pt \fi \rule{\textwidth}{1pt} \par \vskip 2pt \huge \sl #1\par
%%%%%%%% end change
 \nobreak \vskip 50pt } }
%
% This does chapter*{}
% I modified it jan 2000 to make like the above
\def\@makeschapterhead#1{ \vspace*{15pt} { \parindent 0pt  \centering
 \rule{\textwidth}{1pt} \par \vskip 2pt \huge \sl #1\par 
 \nobreak \vskip 50pt } }
%\def\@makeschapterhead#1{ \vspace*{30pt} { \parindent 0pt  \centering
% \huge \sl #1\par 
% \nobreak \vskip 70pt } }

\def\chapter{\clearpage  \thispagestyle{myheadings} \markright{} % 
 \global\@topnum\z@
 \@afterindentfalse \secdef\@chapter\@schapter}
% this command seems not very relevant.... :
\def\@chapter[#1]#2{\ifnum \c@secnumdepth >\m@ne
  \refstepcounter{chapter}
  \typeout{\@chapapp\space\thechapter.}
  \addcontentsline{toc}{chapter}{\protect
  \numberline{\thechapter}#1}
 \else
   \addcontentsline{toc}{chapter}{#1}
 \fi
 \chaptermark{#1}
 \addtocontents{lof}{\protect\addvspace{10pt}}
 \addtocontents{lot}{\protect\addvspace{10pt}} 
\if@twocolumn
 \@topnewpage[\@makechapterhead{#2}] 
\else 
 \@makechapterhead{#2}
 \@afterheading \fi
} 
\def\@schapter#1{\if@twocolumn \@topnewpage[\@makeschapterhead{#1}]
 \else \@makeschapterhead{#1} 
 \@afterheading\fi}

% \@startsection {THE NAME} {THE LEVEL} {INDENT} {BEFORESKIP} {AFTERSKIP} {STYLE}
%
% \def\section{\@startsection {section}{1}{\z@}{-3.5ex plus -1ex minus 
%  -.2ex}{2.3ex plus .2ex}{\Large\bf}}
% \def\subsection{\@startsection{subsection}{2}{\z@}{-3.25ex plus -1ex minus 
%  -.2ex}{1.5ex plus .2ex}{\large\bf}} %was \bf
% \def\subsubsection{\@startsection{subsubsection}{3}{\z@}{-3.25ex plus
%  -1ex minus -.2ex}{1.5ex plus .2ex}{\em}}% was normalsize\bf}}
\def\section{\@startsection {section}{1}{\z@}{-3.5ex plus -1ex minus 
 -.2ex}{2.3ex plus .2ex}{\large\bf}}
\def\subsection{\@startsection{subsection}{2}{\z@}{-3.25ex plus -1ex minus 
 -.2ex}{1.5ex plus .2ex}{\large\em}} %was \bf
\def\subsubsection{\@startsection{subsubsection}{3}{\z@}{-3.25ex plus
 -1ex minus -.2ex}{1.5ex plus .2ex}{\em}}% was normalsize\bf}}
\def\paragraph{\@startsection
 {paragraph}{4}{\z@}{3.25ex plus 1ex minus .2ex}{-1em}{\normalsize\bf}}
\def\subparagraph{\@startsection
 {subparagraph}{4}{\parindent}{3.25ex plus 1ex minus 
 .2ex}{-1em}{\normalsize\bf}}

% I tried making the indent negative, and it does the straightforward thing (dumb)
% \@startsection {THE NAME} {THE LEVEL} {INDENT} {BEFORESKIP} {AFTERSKIP} {STYLE}
%
%
% I stole a little bit about secnumdepth from here and put it in the top sty file
%
% \setcounter{secnumdepth}{1}
%
% these are the indentations used by the list and trivlist environ's
%
% (including descriptions?)
% Mon 4/2/02 changed parindent and this to be a little bigger
%\leftmargini 2.5em
% 17pt - leftmargini should be the same as parindent
\leftmargini 19pt 
% up to jan 2000 \leftmargini 3.2em
%\leftmargini 3.2em
\leftmarginii 2.2em
\leftmarginiii 1.87em
\leftmarginiv 1.7em
\leftmarginv 1em
\leftmarginvi 1em
\leftmargin\leftmargini
\labelsep .5em
% this ? sets labelwidth to leftmi then decrements by labelsep
\labelwidth\leftmargini\advance\labelwidth-\labelsep
\def\@listI{\leftmargin\leftmargini \parsep 4.5pt plus 2pt minus 1pt\topsep
9pt plus 3pt minus 5pt\itemsep 4.5pt plus 2pt minus 1pt}
\let\@listi\@listI
\@listi 
\def\@listii{\leftmargin\leftmarginii
 \labelwidth\leftmarginii\advance\labelwidth-\labelsep
 \topsep 4.5pt plus 2pt minus 1pt
 \parsep 2pt plus 1pt minus 1pt
 \itemsep \parsep}
\def\@listiii{\leftmargin\leftmarginiii
 \labelwidth\leftmarginiii\advance\labelwidth-\labelsep
 \topsep 2pt plus 1pt minus 1pt 
 \parsep \z@ \partopsep 1pt plus 0pt minus 1pt
 \itemsep \topsep}
\def\@listiv{\leftmargin\leftmarginiv
 \labelwidth\leftmarginiv\advance\labelwidth-\labelsep}
\def\@listv{\leftmargin\leftmarginv
 \labelwidth\leftmarginv\advance\labelwidth-\labelsep}
\def\@listvi{\leftmargin\leftmarginvi
 \labelwidth\leftmarginvi\advance\labelwidth-\labelsep}


