]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix the \kbd definition so it didn't leave the courier face on.
authorFred Drake <fdrake@acm.org>
Wed, 1 Jul 1998 14:49:25 +0000 (14:49 +0000)
committerFred Drake <fdrake@acm.org>
Wed, 1 Jul 1998 14:49:25 +0000 (14:49 +0000)
Doc/texinputs/python.sty

index bfbffbef92ac688128f2f3ea655a167b3db46390..e5e2d4fbc9d30174a67a9510cc60eaa974c4948e 100644 (file)
 \texttt{#1}}}
 
 \newcommand{\bfcode}[1]{\code{\bfseries#1}} % bold-faced code font
-\newcommand{\kbd}[1]{\tt #1}
+\newcommand{\kbd}[1]{\code{#1}}
 \newcommand{\samp}[1]{`\code{#1}'}
 % This weird definition of \var{} allows it to always appear in roman
 % italics, and won't get funky in code fragments when we play around