mirror of
https://github.com/python/cpython.git
synced 2025-11-01 10:45:30 +00:00
\programopt: New macro, used to mark command-line parameters in the
text. Looks like \program.
\citetitle: New macro, used to mark titles of cited works (like the
names of the Python manuals). Accepts & discards an
optional parameter that is only used by the HTML
formatter. Looks like \emph.
This commit is contained in:
parent
c9f5fe0d1c
commit
7b8195a209
1 changed files with 5 additions and 0 deletions
|
|
@ -762,6 +762,11 @@
|
|||
\newcommand{\manpage}[2]{{\emph{#1}(#2)}}
|
||||
\newcommand{\rfc}[1]{RFC #1\index{RFC!RFC #1}}
|
||||
\newcommand{\program}[1]{\strong{#1}}
|
||||
\newcommand{\programopt}[1]{\strong{#1}}
|
||||
|
||||
% cited titles: \citetitle{Title of Work}
|
||||
% online: \citetitle[url-to-resource]{Title of Work}
|
||||
\newcommand{\citetitle}[2][URL]{\emph{#1}}
|
||||
|
||||
|
||||
% Deprecation stuff.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue