mirror of
https://github.com/python/cpython.git
synced 2025-11-25 21:11:09 +00:00
Add \csimplemacro to parallel the csimplemacrodesc environment.
Fix a typo in the comments for csimplemacrodesc.
This commit is contained in:
parent
6b35370c65
commit
19f827e765
1 changed files with 2 additions and 1 deletions
|
|
@ -613,7 +613,7 @@
|
|||
}{\end{fulllineitems}}
|
||||
|
||||
% Funky macros -----------------------------------------------------------
|
||||
% \begin{csimplemacro}{name}
|
||||
% \begin{csimplemacrodesc}{name}
|
||||
% -- "simple" because it has no args; NOT for constant definitions!
|
||||
\newenvironment{csimplemacrodesc}[1]{
|
||||
\begin{fulllineitems}
|
||||
|
|
@ -787,6 +787,7 @@
|
|||
\texttt{#1}}}
|
||||
|
||||
\newcommand{\bfcode}[1]{\code{\bfseries#1}} % bold-faced code font
|
||||
\newcommand{\csimplemacro}[1]{\code{#1}}
|
||||
\newcommand{\kbd}[1]{\code{#1}}
|
||||
\newcommand{\samp}[1]{`\code{#1}'}
|
||||
% This weird definition of \var{} allows it to always appear in roman
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue