cpython/Doc/myformat.sty

40 lines
749 B
TeX

% Style parameters and macros used by all documents here
% A4 page lay-out parameters
\textwidth = 160mm
\textheight = 240mm
\topmargin = -11mm
% Americal page lay-out parameters
%\textwidth = 160mm
%\textheight = 220mm
%\topmargin = -11mm
\oddsidemargin = 0mm
\evensidemargin = 0mm
%\parindent = 0mm
% 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}
%
\vspace{3mm}
\par
\indent
\begin{minipage}[t]{\codewidth}
}
\newcommand{\ecode}{
\end{minipage}
\vspace{3mm}
\par
\noindent
}