summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/UsersGuide/UsersGuide.tex13
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}\\}