mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
\optional{}: Removed leading word space, allowing more flexibility.
{seealso} environment: Always start a new paragraph after the "See Also:"
line; this ensures that formatting is consistent for each subsequent
\see*{} item.
This commit is contained in:
parent
b2c45a8197
commit
6c886a8db1
1 changed files with 2 additions and 2 deletions
|
|
@ -158,7 +158,7 @@
|
|||
\newcommand{\funcline}[2]{\item[\code{#1(\varvars{#2})}]\ttindex{#1}}
|
||||
\newcommand{\funcdesc}[2]{\fulllineitems\funcline{#1}{#2}}
|
||||
\let\endfuncdesc\endfulllineitems
|
||||
\newcommand{\optional}[1]{{\ \textnormal{\Large[}}{#1}\hspace{0.5mm}{\textnormal{\Large]}}\ }
|
||||
\newcommand{\optional}[1]{{\textnormal{\Large[}}{#1}\hspace{0.5mm}{\textnormal{\Large]}} }
|
||||
|
||||
|
||||
% same for excdesc
|
||||
|
|
@ -240,7 +240,7 @@
|
|||
% \seetext{{\em Encyclopedia Britannica}}. % Ref to a book
|
||||
% \end{seealso}
|
||||
|
||||
\newenvironment{seealso}[0]{{\bf See Also: }}{\par}
|
||||
\newenvironment{seealso}[0]{{\bf See Also:}\par}{\par}
|
||||
\newcommand{\seemodule}[2]{\ref{module-#1}: {\tt #1} (#2)}
|
||||
\newcommand{\seetext}[1]{\par{#1}}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue