X-Git-Url: https://gapil.gnulinux.it/gitweb/?p=gapil.git;a=blobdiff_plain;f=macro.tex;h=842859c3196879458b2118856203ab829307974f;hp=c4fd5792318ca023eb27c5440eedb72f9e560a1b;hb=5004c32d8c64a4911159fa119bbe21cc2eae1ac3;hpb=80ddc5f8b7f561a4fc605330be149089cd838de8 diff --git a/macro.tex b/macro.tex index c4fd579..842859c 100644 --- a/macro.tex +++ b/macro.tex @@ -67,7 +67,7 @@ tab.~\thechapter.\theusercount} \newenvironment{prototype}[2] {% defining what is done by \begin \center - \begin{minipage}[c]{14cm} + \begin{boxedminipage}[c]{14cm} \footnotesize \begin{description*}{}{} \item \texttt{\#include <#1>} @@ -81,7 +81,7 @@ tab.~\thechapter.\theusercount} % \end{list} % \par \end{description*} -\end{minipage} +\end{boxedminipage} \vspace{6pt} \par \normalsize @@ -95,20 +95,22 @@ tab.~\thechapter.\theusercount} % \newcommand{\headdecl}[1]{\item\texttt{\#include <#1>}} \newcommand{\funcdecl}[1]{\item\texttt{#1}\par} -\newcommand{\bodydesc}[1]{\par\end{description*}\par #1 -\begin{description*}{}{} \baselineskip=0pt\item} +\newcommand{\bodydesc}[1]{\par \end{description*} #1 + \begin{description*}{}{} \baselineskip=0pt + \item \vspace{-4pt} +} \newenvironment{functions} {% defining what is done by \begin \center - \begin{minipage}[c]{14cm} + \begin{boxedminipage}[c]{14cm} \footnotesize \begin{description*}{}{} } {% defining what is done by \end \end{description*} - \end{minipage} + \end{boxedminipage} \vspace{6pt} - \par + \par \normalsize %\break }