From 2f0b9d0b5071811a7aaa85a253b6f8a7ae026a01 Mon Sep 17 00:00:00 2001 From: interp Date: Thu, 29 Jul 2004 17:23:17 +0000 Subject: [PATCH] Add definition for syntax. --- doc/latex/decls.tex | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/latex/decls.tex b/doc/latex/decls.tex index c0e16a5..ed322b3 100644 --- a/doc/latex/decls.tex +++ b/doc/latex/decls.tex @@ -222,6 +222,12 @@ {\index{#1} \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. % 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.