mirror of https://github.com/python/cpython.git
45 lines
866 B
TeX
45 lines
866 B
TeX
% Style parameters and macros used by some documents here
|
|
|
|
% Style parameters
|
|
\raggedbottom
|
|
\sloppy
|
|
\parindent = 0mm
|
|
\parskip = 2mm
|
|
|
|
% Page style parameters for A4 (European standard paper size)
|
|
%\textwidth = 160mm
|
|
%\textheight = 240mm
|
|
%\topmargin = -11mm
|
|
|
|
% Page style parameters for U.S. standard paper size
|
|
\textwidth = 160mm
|
|
\textheight = 220mm
|
|
\topmargin = -11mm
|
|
|
|
\oddsidemargin = 1.5mm
|
|
\evensidemargin = 1.5mm
|
|
|
|
% Frequently used system name
|
|
\newcommand{\UNIX}{U{\sc nix}}
|
|
|
|
% Variable used by begin code command
|
|
\newlength{\codewidth}
|
|
|
|
\newcommand{\bcode}{
|
|
% Calculate the text width for the minipage:
|
|
\setlength{\codewidth}{\linewidth}
|
|
\addtolength{\codewidth}{-\parindent}
|
|
%
|
|
\par
|
|
\vspace{3mm}
|
|
\indent
|
|
\begin{minipage}[t]{\codewidth}
|
|
}
|
|
|
|
\newcommand{\ecode}{
|
|
\end{minipage}
|
|
\vspace{3mm}
|
|
\par
|
|
\noindent
|
|
}
|