From 3fe5ebe1b0d95a00a1e77f7d84be6f4e72365f2e Mon Sep 17 00:00:00 2001 From: allen Date: Mon, 26 Jul 1999 11:12:55 +0000 Subject: Added to Tom's commands so there is a \showcargs if you on;y have a C function git-svn-id: http://svn.cactuscode.org/flesh/trunk@785 17b73243-c579-4c4c-a9d2-2d5706c11dac --- doc/UsersGuide/UsersGuide.tex | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/doc/UsersGuide/UsersGuide.tex b/doc/UsersGuide/UsersGuide.tex index 4dfd1547..0699c163 100644 --- a/doc/UsersGuide/UsersGuide.tex +++ b/doc/UsersGuide/UsersGuide.tex @@ -109,6 +109,7 @@ \sbox{\cctkfargdefs}{\noindent{}\vbox{\noindent ##2 ##3 \usebox{\cctkfdefssep}\noindent{}\usebox{\cctkfargdefs}}} \sbox{\cctkfdefssep}{\\} } + %Use this command if it is a function, same args as \argument \newcommand{\function}[3] {\sbox{\cctkcprefix}{##1 ##3 =} @@ -116,6 +117,7 @@ \sbox{\cctkfargdefs}{\noindent{}\vbox{\noindent ##2 ##3 \usebox{\cctkfdefssep}\noindent{}\usebox{\cctkfargdefs}}} \sbox{\cctkfdefssep}{\\} } + %Use this to display the arguments \newcommand{\showargs} {\noindent @@ -127,6 +129,17 @@ &&\noindent\usebox{\cctkfargdefs} \end{tabular}\\ } + +%Use this to display the C arguments + \newcommand{\showcargs} + {\noindent + \begin{tabular}{@{}p{3cm}cp{11cm}}&&\\ +{\bf Synopis} \hfill&&\\ +\hfill {\bf C} && {\t \usebox{\cctkcprefix} \usebox{\cctkbox}(\usebox{\cctkcargbox})}\\ +\end{tabular}\\ +} + + %Environment for describing parameters \newenvironment{params}{ \noindent\begin{tabular}{@{}p{3cm}cp{11cm}}&&\\{\bf Parameters} \hfill&&\\}{\end{tabular}\\} -- cgit v1.2.3