From: Fred Drake Date: Wed, 1 Jul 1998 14:49:25 +0000 (+0000) Subject: Fix the \kbd definition so it didn't leave the courier face on. X-Git-Tag: v1.5.2a1~364 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8e54abe92ea2d2a1d425babcfbf6963b4c2207de;p=thirdparty%2FPython%2Fcpython.git Fix the \kbd definition so it didn't leave the courier face on. --- diff --git a/Doc/texinputs/python.sty b/Doc/texinputs/python.sty index bfbffbef92ac..e5e2d4fbc9d3 100644 --- a/Doc/texinputs/python.sty +++ b/Doc/texinputs/python.sty @@ -502,7 +502,7 @@ \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