diff options
author | allen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 1999-07-26 11:12:55 +0000 |
---|---|---|
committer | allen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 1999-07-26 11:12:55 +0000 |
commit | 3fe5ebe1b0d95a00a1e77f7d84be6f4e72365f2e (patch) | |
tree | c093bbec6e3cc81ddf2d50332e591bfbc2b47660 | |
parent | 755bc3096292b14ec4ecc5add0b2e5dd8d666a5a (diff) |
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
-rw-r--r-- | doc/UsersGuide/UsersGuide.tex | 13 |
1 files changed, 13 insertions, 0 deletions
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}\\} |