X-Git-Url: https://gapil.gnulinux.it/gitweb/?p=gapil.git;a=blobdiff_plain;f=macro.tex;h=85267eadfbabbb098f591b4a598ebabc4b302b80;hp=a0121901b1b58dd556aaeb0da35d34926dcde4ff;hb=9a577c89dd563aacbc619e09bf8b6d99b533274a;hpb=4e1da5b259a86278710be32441de7b88b9287ec1 diff --git a/macro.tex b/macro.tex index a012190..85267ea 100644 --- 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}}{} @@ -216,14 +216,12 @@ \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 @@ -249,9 +247,9 @@ } {% defining what is done by \end \end{boxedminipage} +\break \normalsize \par -%\break }