% prog.sty for programmins examples
%
% Specific User Commands:
% ----------------------- 
% \e{TEXT}          equivalent to {\em TEXT}
% \id{TEXT}         format TEXT like a programming example identifier
% \kw{TEXT}         format TEXT like a programming example keyword
% \begin{xple}      programming examples: Obey spaces and line breaks,
% \end{xple}        but allow arbitrary formatting commands
% \comment{TEXT}    make TEXT stand out as something that needs to
%                   be fixed 

% Process this file only once:
\@ifundefined{leftmarginwidth}{}{\endinput}

\typeout{ Tycoon Style - Version 18.10.1991}  % ##

% begin ## 

% \begin{xple} TEXT \end{xple}
% Typeset TEXT as a programming language example:
% Obey linebreaks and multiple spaces, use slanted font
\def\@xple{\trivlist \item[]\if@minipage\else\vskip\parskip\fi
\leftskip 1cm
%\@totalleftmargin
\rightskip\z@
\parindent\z@\parfillskip\@flushglue\parskip\z@
\@tempswafalse \def\par{\if@tempswa\hbox{}\fi\@tempswatrue\@@par}
\obeylines \sl}

\def\xple{\@xple \frenchspacing\@vobeyspaces}
\let\endxple=\endtrivlist

\newcommand{\e}[1]{{\em #1\/}}
\newcommand{\id}[1]{{\sl #1}}
\newcommand{\kw}[1]{{\bf #1}}
\newcommand{\comment}[1]{\par [*** #1 ***] \par}


% Switch on the new version of the plain pagestyle.
\pagestyle{plain}

% This is the end of prog.sty. ##
\endinput
