Add definition for syntax.

This commit is contained in:
interp 2004-07-29 17:23:17 +00:00
parent e319430837
commit 2f0b9d0b50
1 changed files with 6 additions and 0 deletions

View File

@ -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.