X-Git-Url: https://gapil.gnulinux.it/gitweb/?a=blobdiff_plain;f=macro.tex;h=9feadaa9d15e36a1bdb230970d1c28232e7e0118;hb=f38129d2f5315923568792875a9fa1fdb5e45d6e;hp=2f4ea86a4cc19f39f452e43c63bc54800b410775;hpb=4826742c87d76af810c8a30e5495135fb43b8091;p=gapil.git diff --git a/macro.tex b/macro.tex index 2f4ea86..9feadaa 100644 --- a/macro.tex +++ b/macro.tex @@ -60,20 +60,24 @@ tab.~\thechapter.\theusercount} % % Macro to create a special environment for function prototypes % -\newenvironment{prototype}[1]{ +\newenvironment{prototype}[2]{ \center - \begin{minipage}[c]{14cm} - \par \texttt{#1} \footnotesize + \begin{minipage}[c]{14cm} + \par \texttt{\#include <#1>} +% \par \ + \par \texttt{#2} +% \begin{lstlisting}{} +% #1 +% #2 +% \end{lstlisting} \begin{list}{}{} \item } { \end{list} \par -\normalsize \par \texttt{ } \end{minipage} +\normalsize \par } \newenvironment{errlist}{\begin{description}}{\end{description}} - -