mirror of
https://github.com/python/cpython.git
synced 2025-11-11 22:55:08 +00:00
Fix the \kbd definition so it didn't leave the courier face on.
This commit is contained in:
parent
3240dd2bc2
commit
8e54abe92e
1 changed files with 1 additions and 1 deletions
|
|
@ -502,7 +502,7 @@
|
||||||
\texttt{#1}}}
|
\texttt{#1}}}
|
||||||
|
|
||||||
\newcommand{\bfcode}[1]{\code{\bfseries#1}} % bold-faced code font
|
\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}'}
|
\newcommand{\samp}[1]{`\code{#1}'}
|
||||||
% This weird definition of \var{} allows it to always appear in roman
|
% 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
|
% italics, and won't get funky in code fragments when we play around
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue