From 8e54abe92ea2d2a1d425babcfbf6963b4c2207de Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Wed, 1 Jul 1998 14:49:25 +0000 Subject: [PATCH] Fix the \kbd definition so it didn't leave the courier face on. --- Doc/texinputs/python.sty | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/texinputs/python.sty b/Doc/texinputs/python.sty index bfbffbef92..e5e2d4fbc9 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 -- 2.50.1