Kaydet (Commit) 19f827e7 authored tarafından Fred Drake's avatar Fred Drake

Add \csimplemacro to parallel the csimplemacrodesc environment.

Fix a typo in the comments for csimplemacrodesc.
üst 6b35370c
...@@ -613,7 +613,7 @@ ...@@ -613,7 +613,7 @@
}{\end{fulllineitems}} }{\end{fulllineitems}}
% Funky macros ----------------------------------------------------------- % Funky macros -----------------------------------------------------------
% \begin{csimplemacro}{name} % \begin{csimplemacrodesc}{name}
% -- "simple" because it has no args; NOT for constant definitions! % -- "simple" because it has no args; NOT for constant definitions!
\newenvironment{csimplemacrodesc}[1]{ \newenvironment{csimplemacrodesc}[1]{
\begin{fulllineitems} \begin{fulllineitems}
...@@ -787,6 +787,7 @@ ...@@ -787,6 +787,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{\csimplemacro}[1]{\code{#1}}
\newcommand{\kbd}[1]{\code{#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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment