1991-01-22 07:45:29 -04:00
|
|
|
% Style parameters and macros used by all documents here
|
|
|
|
|
|
|
|
% Page lay-out parameters
|
|
|
|
\textwidth = 150mm
|
|
|
|
\textheight = 240mm
|
|
|
|
\topmargin = -11mm
|
|
|
|
\oddsidemargin = 5mm
|
|
|
|
\evensidemargin = 5mm
|
|
|
|
|
|
|
|
% Macros for e.g. and E.g. if you want them italicized:
|
|
|
|
% \newcommand{\eg}{{\it e.g.}}
|
|
|
|
% \newcommand{\Eg}{{\it E.g.}}
|
|
|
|
% If you don't want them italicized:
|
|
|
|
\newcommand{\eg}{e.g.}
|
|
|
|
\newcommand{\Eg}{E.g.}
|
|
|
|
|
|
|
|
% Frequently used system names
|
|
|
|
\newcommand{\Python}{Python}
|
|
|
|
\newcommand{\UNIX}{U{\sc nix}}
|
|
|
|
|
1991-01-24 12:54:29 -04:00
|
|
|
% Calculate the text width for the minipage in the code environment:
|
|
|
|
\newlength{\codewidth}
|
|
|
|
\setlength{\codewidth}{\textwidth}
|
|
|
|
\addtolength{\codewidth}{-\parindent}
|
|
|
|
|
|
|
|
% Code environment. Use together with begin/end verbatim!
|
1991-01-22 07:45:29 -04:00
|
|
|
\newenvironment{code}%
|
1991-01-24 12:54:29 -04:00
|
|
|
{\vspace{10pt}\par\begin{minipage}{\codewidth}}% begin stuff
|
|
|
|
{\end{minipage}\par\vspace{10pt}\noindent}% end stuff
|