Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8e54abe

Browse files
committed
Fix the \kbd definition so it didn't leave the courier face on.
1 parent 3240dd2 commit 8e54abe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/texinputs/python.sty

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@
502502
\texttt{#1}}}
503503

504504
\newcommand{\bfcode}[1]{\code{\bfseries#1}} % bold-faced code font
505-
\newcommand{\kbd}[1]{\tt #1}
505+
\newcommand{\kbd}[1]{\code{#1}}
506506
\newcommand{\samp}[1]{`\code{#1}'}
507507
% This weird definition of \var{} allows it to always appear in roman
508508
% italics, and won't get funky in code fragments when we play around

0 commit comments

Comments
 (0)