blob: 9d4d102170eb7e47cf34c40c9438c7054f6f0d12 [file] [log] [blame]
Guido van Rossum515834a1991-01-22 11:45:29 +00001% Style parameters and macros used by all documents here
2
Guido van Rossum4410c751991-06-04 20:22:18 +00003% A4 page lay-out parameters
Guido van Rossum4c22cb21991-01-25 13:28:15 +00004\textwidth = 160mm
Guido van Rossum515834a1991-01-22 11:45:29 +00005\textheight = 240mm
6\topmargin = -11mm
Guido van Rossum4410c751991-06-04 20:22:18 +00007
8% Americal page lay-out parameters
9%\textwidth = 160mm
10%\textheight = 220mm
11%\topmargin = -11mm
12
Guido van Rossum4c22cb21991-01-25 13:28:15 +000013\oddsidemargin = 0mm
14\evensidemargin = 0mm
15%\parindent = 0mm
Guido van Rossum515834a1991-01-22 11:45:29 +000016
Guido van Rossum4410c751991-06-04 20:22:18 +000017% Frequently used system name
Guido van Rossum515834a1991-01-22 11:45:29 +000018\newcommand{\UNIX}{U{\sc nix}}
19
Guido van Rossum4c22cb21991-01-25 13:28:15 +000020% Variable used by begin code command
Guido van Rossum44000ed1991-01-24 16:54:29 +000021\newlength{\codewidth}
Guido van Rossum44000ed1991-01-24 16:54:29 +000022
Guido van Rossum4c22cb21991-01-25 13:28:15 +000023\newcommand{\bcode}{
24 % Calculate the text width for the minipage:
25 \setlength{\codewidth}{\linewidth}
26 \addtolength{\codewidth}{-\parindent}
27 %
28 \vspace{3mm}
29 \par
30 \indent
31 \begin{minipage}[t]{\codewidth}
32}
33
34\newcommand{\ecode}{
35 \end{minipage}
36 \vspace{3mm}
37 \par
38 \noindent
39}