0
0
mirror of https://github.com/python/cpython.git synced 2024-11-28 16:45:42 +01:00
cpython/Doc/myformat.sty

40 lines
749 B
Plaintext
Raw Normal View History

1991-01-22 12:45:29 +01:00
% Style parameters and macros used by all documents here
1991-06-04 22:22:18 +02:00
% A4 page lay-out parameters
\textwidth = 160mm
1991-01-22 12:45:29 +01:00
\textheight = 240mm
\topmargin = -11mm
1991-06-04 22:22:18 +02:00
% Americal page lay-out parameters
%\textwidth = 160mm
%\textheight = 220mm
%\topmargin = -11mm
\oddsidemargin = 0mm
\evensidemargin = 0mm
%\parindent = 0mm
1991-01-22 12:45:29 +01:00
1991-06-04 22:22:18 +02:00
% Frequently used system name
1991-01-22 12:45:29 +01:00
\newcommand{\UNIX}{U{\sc nix}}
% Variable used by begin code command
1991-01-24 17:54:29 +01:00
\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
}