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

Skip to content

Commit 19f827e

Browse files
committed
Add \csimplemacro to parallel the csimplemacrodesc environment.
Fix a typo in the comments for csimplemacrodesc.
1 parent 6b35370 commit 19f827e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Doc/texinputs/python.sty

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,7 @@
613613
}{\end{fulllineitems}}
614614

615615
% Funky macros -----------------------------------------------------------
616-
% \begin{csimplemacro}{name}
616+
% \begin{csimplemacrodesc}{name}
617617
% -- "simple" because it has no args; NOT for constant definitions!
618618
\newenvironment{csimplemacrodesc}[1]{
619619
\begin{fulllineitems}
@@ -787,6 +787,7 @@
787787
\texttt{#1}}}
788788

789789
\newcommand{\bfcode}[1]{\code{\bfseries#1}} % bold-faced code font
790+
\newcommand{\csimplemacro}[1]{\code{#1}}
790791
\newcommand{\kbd}[1]{\code{#1}}
791792
\newcommand{\samp}[1]{`\code{#1}'}
792793
% This weird definition of \var{} allows it to always appear in roman

0 commit comments

Comments
 (0)