1991-01-22 07:45:29 -04:00
|
|
|
% Style parameters and macros used by all documents here
|
|
|
|
|
|
|
|
% Page lay-out parameters
|
1991-01-25 09:28:15 -04:00
|
|
|
\textwidth = 160mm
|
1991-01-22 07:45:29 -04:00
|
|
|
\textheight = 240mm
|
|
|
|
\topmargin = -11mm
|
1991-01-25 09:28:15 -04:00
|
|
|
\oddsidemargin = 0mm
|
|
|
|
\evensidemargin = 0mm
|
|
|
|
%\parindent = 0mm
|
1991-01-22 07:45:29 -04:00
|
|
|
|
|
|
|
% Frequently used system names
|
1991-01-25 09:28:15 -04:00
|
|
|
\newcommand{\Python}{Python} % Sometimes I want this italicized
|
1991-01-22 07:45:29 -04:00
|
|
|
\newcommand{\UNIX}{U{\sc nix}}
|
|
|
|
|
1991-01-25 09:28:15 -04:00
|
|
|
% Variable used by begin code command
|
1991-01-24 12:54:29 -04:00
|
|
|
\newlength{\codewidth}
|
|
|
|
|
1991-01-25 09:28:15 -04:00
|
|
|
\newcommand{\bcode}{
|
|
|
|
% Calculate the text width for the minipage:
|
|
|
|
\setlength{\codewidth}{\linewidth}
|
|
|
|
\addtolength{\codewidth}{-\parindent}
|
|
|
|
%
|
|
|
|
\vspace{3mm}
|
|
|
|
\par
|
|
|
|
\indent
|
|
|
|
\begin{minipage}[t]{\codewidth}
|
|
|
|
}
|
|
|
|
|
|
|
|
\newcommand{\ecode}{
|
|
|
|
\end{minipage}
|
|
|
|
\vspace{3mm}
|
|
|
|
\par
|
|
|
|
\noindent
|
|
|
|
}
|