Mercurial > cpython-lru_cache-weakref
diff Doc/texinputs/python.sty @ 8396:79071a4e0eca legacy-trunk
Added {definitions} environment, which has \term to define indivual terms.
Similar to {description}.
| author | Fred Drake <fdrake@acm.org> |
|---|---|
| date | Wed, 20 May 1998 17:42:17 +0000 |
| parents | ebfde06fdb8d |
| children | ce295bfacef3 |
line wrap: on
line diff
--- a/Doc/texinputs/python.sty Wed May 20 17:13:01 1998 +0000 +++ b/Doc/texinputs/python.sty Wed May 20 17:42:17 1998 +0000 @@ -710,5 +710,16 @@ } } + +% Definition lists; requested by AMK for HOWTO documents. Probably useful +% elsewhere as well, so keep in in the general style support. +% +\newenvironment{definitions}{% + \begin{description}% + \def\term##1{\item[##1]\itembreak} +}{% + \end{description}% +} + % Tell TeX about pathological hyphenation cases: \hyphenation{Base-HTTP-Re-quest-Hand-ler}
