Commit 6ebbe52c authored by Fred Drake's avatar Fred Drake

\itembreak,

\itemjoin,
\kwindex:  Revived definitions to support the Python Reference Manual.
parent aa1daad2
......@@ -259,6 +259,7 @@
% Command to generate a reference to a function, statement, keyword,
% operator.
\newcommand{\kwindex}[1]{\indexii{keyword}{#1@{\py@idxcode{#1}}}}
\newcommand{\stindex}[1]{\indexii{statement}{#1@{\py@idxcode{#1}}}}
\newcommand{\opindex}[1]{\indexii{operator}{#1@{\py@idxcode{#1}}}}
\newcommand{\exindex}[1]{\indexii{exception}{#1@{\py@idxcode{#1}}}}
......@@ -621,6 +622,19 @@
\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}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment