Ulteriori revisioni, finita l'introduzione con vari spostamenti e
[gapil.git] / macro.tex
index a0121901b1b58dd556aaeb0da35d34926dcde4ff..85267eadfbabbb098f591b4a598ebabc4b302b80 100644 (file)
--- a/macro.tex
+++ b/macro.tex
@@ -18,7 +18,7 @@
 \def\circonf{\char'136}
 \def\invap{\char'140}
 
-\newcommand{\includecodesnip}[1]{\lstinputlisting[stepnumber=0,frame=]{#1}}{}
+\newcommand{\includecodesnip}[1]{\lstinputlisting[stepnumber=0,xleftmargin=\parindent,frame=]{#1}}{}
 \newcommand{\includestruct}[1]{\lstinputlisting[stepnumber=0]{#1}}{}
 \newcommand{\includecodesample}[1]{\lstinputlisting{#1}}{}
 
 \newlength{\funcboxwidth}
 \setlength{\funcboxwidth}{0.85\textwidth}
 
-
-
 %
 % Nuove macro per diversa formattazione delle definizioni delle funzioni
 %
 \newcommand{\fhead}[1]{\texttt{\#include <#1>}\par}
 \newcommand{\fdecl}[1]{\texttt{#1}\par}
-\newcommand{\fdesc}[1]{#1\par}
+\newcommand{\fdesc}[1]{\hfill{#1}\par}
 
 \newenvironment{funcproto}[2]
 {% defining what is done by \begin
 }
 {% defining what is done by \end
 \end{boxedminipage}
+\break
 \normalsize
 \par
-%\break
 }