Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7b8195a

Browse files
committed
\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.
1 parent c9f5fe0 commit 7b8195a

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

Doc/texinputs/python.sty

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -762,6 +762,11 @@
762762
\newcommand{\manpage}[2]{{\emph{#1}(#2)}}
763763
\newcommand{\rfc}[1]{RFC #1\index{RFC!RFC #1}}
764764
\newcommand{\program}[1]{\strong{#1}}
765+
\newcommand{\programopt}[1]{\strong{#1}}
766+
767+
% cited titles: \citetitle{Title of Work}
768+
% online: \citetitle[url-to-resource]{Title of Work}
769+
\newcommand{\citetitle}[2][URL]{\emph{#1}}
765770

766771

767772
% Deprecation stuff.

0 commit comments

Comments
 (0)