blob: c4db0d19c691c910df563df993434fa8a18d9f5a [file] [log] [blame]
Guido van Rossum515834a1991-01-22 11:45:29 +00001% Style parameters and macros used by all documents here
2
Guido van Rossum92fba021991-11-12 15:44:51 +00003\raggedbottom
4\sloppy
5
Guido van Rossum4410c751991-06-04 20:22:18 +00006% A4 page lay-out parameters
Guido van Rossum79448281992-01-17 10:42:38 +00007%\textwidth = 160mm
8%\textheight = 240mm
9%\topmargin = -11mm
Guido van Rossum4410c751991-06-04 20:22:18 +000010
11% Americal page lay-out parameters
Guido van Rossum79448281992-01-17 10:42:38 +000012\textwidth = 160mm
13\textheight = 220mm
14\topmargin = -11mm
Guido van Rossum4410c751991-06-04 20:22:18 +000015
Guido van Rossum4c22cb21991-01-25 13:28:15 +000016\oddsidemargin = 0mm
17\evensidemargin = 0mm
Guido van Rossum79448281992-01-17 10:42:38 +000018%\parindent = 0mm
Guido van Rossum515834a1991-01-22 11:45:29 +000019
Guido van Rossum4410c751991-06-04 20:22:18 +000020% Frequently used system name
Guido van Rossum515834a1991-01-22 11:45:29 +000021\newcommand{\UNIX}{U{\sc nix}}
22
Guido van Rossum4c22cb21991-01-25 13:28:15 +000023% Variable used by begin code command
Guido van Rossum44000ed1991-01-24 16:54:29 +000024\newlength{\codewidth}
Guido van Rossum44000ed1991-01-24 16:54:29 +000025
Guido van Rossum4c22cb21991-01-25 13:28:15 +000026\newcommand{\bcode}{
27 % Calculate the text width for the minipage:
28 \setlength{\codewidth}{\linewidth}
29 \addtolength{\codewidth}{-\parindent}
30 %
Guido van Rossum4c22cb21991-01-25 13:28:15 +000031 \par
Guido van Rossum92fba021991-11-12 15:44:51 +000032 \vspace{3mm}
Guido van Rossum4c22cb21991-01-25 13:28:15 +000033 \indent
34 \begin{minipage}[t]{\codewidth}
35}
36
37\newcommand{\ecode}{
38 \end{minipage}
39 \vspace{3mm}
40 \par
41 \noindent
42}