diff Doc/texinputs/python.sty @ 8609:ce295bfacef3 legacy-trunk

Fix the \kbd definition so it didn't leave the courier face on.
author Fred Drake <fdrake@acm.org>
date Wed, 01 Jul 1998 14:49:25 +0000
parents 79071a4e0eca
children ed8f4e2eb11a
line wrap: on
line diff
--- a/Doc/texinputs/python.sty	Wed Jul 01 14:10:52 1998 +0000
+++ b/Doc/texinputs/python.sty	Wed Jul 01 14:49:25 1998 +0000
@@ -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