% tutorial.sty - tutorial style modifications
% $Header: /sparc/users/jsweet/notes/mime/tutorial/tutorial.sty,v 0.1 1993/03/15 05:29:06 jsweet Exp $

%
% Borrowed extensively from the various LaTeX style files and
% vilely abused by: Jerry Sweet <jsweet@irvine.com>
%
% $Header: /sparc/users/jsweet/notes/mime/tutorial/tutorial.sty,v 0.1 1993/03/15 05:29:06 jsweet Exp $


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% GLOBAL STYLE PARAMETERS
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% Put some space between paragraphs.

\parskip 9pt

% Don't indent paragraphs.

\parindent 0pt

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% ENVIRONMENTS:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%
% brieflist - an itemization environment with no separation among items.
%

\newenvironment{brieflist}{\begin{itemize}\topsep -5pt\itemsep -5pt}{\end{itemize}}

%
% briefenum - an enumeration environment with no separation among items.
%

\newenvironment{briefenum}{\begin{enumerate}\topsep -5pt\itemsep -5pt}{\end{enumerate}}

%
% rtlist - a small description environment specifically for describing
%	   richtext commands
%

\def\rtlist{\list{}{\labelwidth\z@ \itemindent-\leftmargin
 \small\itemsep -5pt \topsep -2pt
 \let\makelabel\rtlistlabel}}

\def\rtlistlabel#1{\hspace\labelsep \tt <#1>}

\def\endrtlist{\endlist \vspace{\parskip}}

%
% comdesc - a small description environment specifically for brief
%	      typewriter style command description
%

\def\comdesc{\list{}{\labelwidth\z@ \itemindent-\leftmargin
 \small
 \let\makelabel\comdesclabel}}

\def\comdesclabel#1{\hspace\labelsep \tt #1}

\let\endcomdesc\endlist

%
% arrowdesc - a small description environment with
%	      items marked by arrows
%

\def\arrowdesc{\list{}{\labelwidth\z@ \itemindent-\leftmargin
 \small
 \let\makelabel\arrowdesclabel}}

\def\arrowdesclabel#1{\hspace\labelsep \bf $\rhd$ #1}

\let\endarrowdesc\endlist

%
% verbatim - redefines verbatim to use \footnotesize.
%

\def\@verbatim{\trivlist \topsep -\baselineskip
\item[]\footnotesize\if@minipage\else\vskip\parskip\fi
\leftskip\@totalleftmargin\rightskip\z@
\parindent\z@\parfillskip\@flushglue\parskip\z@
\@tempswafalse \def\par{\if@tempswa\hbox{}\fi\@tempswatrue\@@par}
\obeylines \tt \catcode``=13 \@noligs \let\do\@makeother \dospecials}

%
% mnote - a tiny margin note
%

\def\mnote#1{\marginpar{\tiny\rm #1}}

%
% @starttoc#1 - redefines table of contents to use single-spacing
%

% \def\@starttoc#1{\begingroup
%   \parskip -1pt
%   \makeatletter
%   \@input{\jobname.#1}\if@filesw \expandafter\newwrite\csname tf@#1\endcsname
% 	\expandafter\openout \csname tf@#1\endcsname \jobname.#1\relax
%   \fi \endgroup}
