]> granicus.if.org Git - python/commitdiff
\itembreak,
authorFred Drake <fdrake@acm.org>
Wed, 9 Sep 1998 15:27:43 +0000 (15:27 +0000)
committerFred Drake <fdrake@acm.org>
Wed, 9 Sep 1998 15:27:43 +0000 (15:27 +0000)
\itemjoin:  Remove obsolete macros.

\itemnewline:  Rename to \py@itemnewline, since it's only used internally.

Doc/texinputs/python.sty

index 0e8bf8ec12cf969f059d75855ec918ea5ca5a7ee..0df36023e7da58a71a9c580f2614ced82b46d0d0 100644 (file)
 % {fulllineitems} is used in one place in libregex.tex, but is really for
 % internal use in this file.
 %
+\newcommand{\py@itemnewline}[1]{%
+  \@tempdima\linewidth%
+  \advance\@tempdima \leftmargin\makebox[\@tempdima][l]{#1}%
+}
+
 \newenvironment{fulllineitems}{
   \begin{list}{}{\labelwidth \leftmargin \labelsep 0pt
                  \rightmargin 0pt \topsep -\parskip \partopsep \parskip
                  \itemsep -\parsep
-                 \let\makelabel=\itemnewline}
+                 \let\makelabel=\py@itemnewline}
 }{\end{list}}
 
 % \optional is mostly for use in the arguments parameters to the various
   \end{center}%
 }
 
-\newcommand{\itemnewline}[1]{%
-  \@tempdima\linewidth%
-  \advance\@tempdima \leftmargin\makebox[\@tempdima][l]{#1}%
-}
-
-% Define \itembreak: force the text after an item to start on a new line
-\newcommand{\itembreak}{%
-  \mbox{}%
-  \\*[0mm]%
-}
-
-% Define \itemjoin: some negative vspace to join two items together
-\newcommand{\itemjoin}{%
-  \mbox{}%
-  \vspace{-\itemsep}%
-  \vspace{-\parsep}%
-}
-
 % Cross-referencing (AMK, new impl. FLD)
 % Sample usage:
 %  \begin{seealso}
 %
 \newenvironment{definitions}{%
   \begin{description}%
-  \def\term##1{\item[##1]\itembreak}
+  \def\term##1{\item[##1]\mbox{}\\*[0mm]}
 }{%
   \end{description}%
 }