summaryrefslogtreecommitdiffstats
path: root/Doc/myformat.sty
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1991-01-22 11:45:29 (GMT)
committerGuido van Rossum <guido@python.org>1991-01-22 11:45:29 (GMT)
commit515834a99b946d8c38af0f2d33b2e950ee3b7d12 (patch)
treeba23f13c2a2eb50a9f1f1217935ed214190f393b /Doc/myformat.sty
parent7d9f8d70b996169a13fc7ebb82883d5ef6e97bf9 (diff)
downloadcpython-515834a99b946d8c38af0f2d33b2e950ee3b7d12.zip
cpython-515834a99b946d8c38af0f2d33b2e950ee3b7d12.tar.gz
cpython-515834a99b946d8c38af0f2d33b2e950ee3b7d12.tar.bz2
Initial revision
Diffstat (limited to 'Doc/myformat.sty')
-rw-r--r--Doc/myformat.sty24
1 files changed, 24 insertions, 0 deletions
diff --git a/Doc/myformat.sty b/Doc/myformat.sty
new file mode 100644
index 0000000..623316e
--- /dev/null
+++ b/Doc/myformat.sty
@@ -0,0 +1,24 @@
+% Style parameters and macros used by all documents here
+
+% Page lay-out parameters
+\textwidth = 150mm
+\textheight = 240mm
+\topmargin = -11mm
+\oddsidemargin = 5mm
+\evensidemargin = 5mm
+
+% Macros for e.g. and E.g. if you want them italicized:
+% \newcommand{\eg}{{\it e.g.}}
+% \newcommand{\Eg}{{\it E.g.}}
+% If you don't want them italicized:
+\newcommand{\eg}{e.g.}
+\newcommand{\Eg}{E.g.}
+
+% Frequently used system names
+\newcommand{\Python}{Python}
+\newcommand{\UNIX}{U{\sc nix}}
+
+% Code environment (use together with verbatim!)
+\newenvironment{code}%
+{\nopagebreak\begin{list}{\nopagebreak}{\nopagebreak}\nopagebreak}%
+{\nopagebreak\end{list}\nopagebreak}