diff options
author | Guido van Rossum <guido@python.org> | 1994-08-08 12:30:22 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1994-08-08 12:30:22 (GMT) |
commit | 16d6e7109deb1bcfd8a860cb60c16c02a0ef183b (patch) | |
tree | 81624359068cca2b8476d0894c8cd28788d0762e /Doc/myformat.sty | |
parent | 4b4c664d2e93279c8d749da027000453f9e2cd46 (diff) | |
download | cpython-16d6e7109deb1bcfd8a860cb60c16c02a0ef183b.zip cpython-16d6e7109deb1bcfd8a860cb60c16c02a0ef183b.tar.gz cpython-16d6e7109deb1bcfd8a860cb60c16c02a0ef183b.tar.bz2 |
Lots of small corrections by Andrew Kuchling (plus all new rotor docs)
Diffstat (limited to 'Doc/myformat.sty')
-rw-r--r-- | Doc/myformat.sty | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/Doc/myformat.sty b/Doc/myformat.sty index c4fa2d8..22d7ad4 100644 --- a/Doc/myformat.sty +++ b/Doc/myformat.sty @@ -48,17 +48,10 @@ } % Command to generate two index entries (using subentries) -\newcommand{\indexii}[2]{ -\index{#1!#2} -\index{#2!#1} -} +\newcommand{\indexii}[2]{\index{#1!#2}\index{#2!#1}} % And three entries (using only one level of subentries) -\newcommand{\indexiii}[3]{ -\index{#1!#2 #3} -\index{#2!#3, #1} -\index{#3!#1 #2} -} +\newcommand{\indexiii}[3]{\index{#1!#2 #3}\index{#2!#3, #1}\index{#3!#1 #2}} % And four (again, using only one level of subentries) \newcommand{\indexiv}[4]{ @@ -113,6 +106,8 @@ \newcommand{\funcline}[2]{\item[\code{#1(\varvars{#2})}]\ttindex{#1}} \newcommand{\funcdesc}[2]{\fulllineitems\funcline{#1}{#2}} \let\endfuncdesc\endfulllineitems +\newcommand{\optional}[1]{{\ \Large[}{#1}\hspace{0.5mm}{\Large]}\ } + % same for excdesc \newcommand{\excline}[1]{\item[\code{#1}]\ttindex{#1}} @@ -145,6 +140,7 @@ \newcommand{\UNIX}{{\sc Unix}} \newcommand{\ASCII}{{\sc ascii}} %\newcommand{\C}{{\bf C}} +\newcommand{\Cpp}{C\protect\raisebox{.18ex}{++}} \newcommand{\C}{C} \newcommand{\EOF}{{\sc eof}} |