comparison Doc/texinputs/python.sty @ 11450:0a3bb403a430 legacy-trunk

\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.
author Fred Drake <fdrake@acm.org>
date Tue, 09 Nov 1999 17:02:11 +0000
parents d04609a37dc1
children 774817285b8c
comparison
equal deleted inserted replaced
11449:e0fe4c7a9eff 11450:0a3bb403a430
760 \newcommand{\constant}[1]{\code{#1}} % manifest constant, not syntactic 760 \newcommand{\constant}[1]{\code{#1}} % manifest constant, not syntactic
761 761
762 \newcommand{\manpage}[2]{{\emph{#1}(#2)}} 762 \newcommand{\manpage}[2]{{\emph{#1}(#2)}}
763 \newcommand{\rfc}[1]{RFC #1\index{RFC!RFC #1}} 763 \newcommand{\rfc}[1]{RFC #1\index{RFC!RFC #1}}
764 \newcommand{\program}[1]{\strong{#1}} 764 \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}}
765 770
766 771
767 % Deprecation stuff. 772 % Deprecation stuff.
768 % Should be extended to allow an index / list of deprecated stuff. But 773 % Should be extended to allow an index / list of deprecated stuff. But
769 % there's a lot of stuff that needs to be done to make that automatable. 774 % there's a lot of stuff that needs to be done to make that automatable.