Add definition for syntax.
This commit is contained in:
parent
e319430837
commit
2f0b9d0b50
|
@ -222,6 +222,12 @@
|
||||||
{\index{#1}
|
{\index{#1}
|
||||||
\hbox to \linewidth{\ttchars{{\ttt{#1}} \hfill #2}}}%
|
\hbox to \linewidth{\ttchars{{\ttt{#1}} \hfill #2}}}%
|
||||||
|
|
||||||
|
\newcommand{\defsyn}{\par\medskip\defsynx} % Takes 2 arguments, actually.
|
||||||
|
\newcommand{\defsynx}[2]%
|
||||||
|
{\index{#1}
|
||||||
|
\hbox to \linewidth{\ttchars{{(#1 \ttt{#2})} \hfill syntax}}}%
|
||||||
|
|
||||||
|
|
||||||
% Typeset the protocol line, then do the following descriptive text indented.
|
% Typeset the protocol line, then do the following descriptive text indented.
|
||||||
% If you want to group two procs together, do the first one with a \dfn,
|
% If you want to group two procs together, do the first one with a \dfn,
|
||||||
% then the second one, and the documentation, with a \defndescx.
|
% then the second one, and the documentation, with a \defndescx.
|
||||||
|
|
Loading…
Reference in New Issue