From ffcf3dd8aa1ff48c07016dfafe1601e8905355e1 Mon Sep 17 00:00:00 2001 From: Leonardo Date: Wed, 26 May 2010 18:56:52 +0200 Subject: [PATCH] Un sacco di cose aggiunte, fra cui un simpatico aggeggio per segnarmi le note. --- leoutils.sty | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/leoutils.sty b/leoutils.sty index 4b1df52..6a5e83c 100644 --- a/leoutils.sty +++ b/leoutils.sty @@ -39,11 +39,15 @@ matematician writing notes] % \setlength{\marginparwidth}{2cm} \newcommand{\draftcomment}[1]{% \ifthenelse{\equal{\@draft}{true}} -{\vskip 15pt -\moveleft 1.8cm \hbox{{\makebox{\noindent \color{red} \fontspec{Windsong}\huge nota}}} -\noindent\framebox{\parbox{\textwidth}{% -\footnotesize\fontspec[Mapping=tex-text]{Gentium}\color{black}\noindent#1} -}\vskip 15pt} +{\vskip -1.5cm +\moveleft 1.8cm \hbox{% +{\raisebox{-1.8cm}{\makebox{\noindent \color{red} \fontspec{Windsong}\huge nota}}}% +} +\moveleft 1.8cm \hbox{\noindent\rule{\textwidth + 1.8cm}{0.3pt}} +\noindent\parbox{\textwidth}{% +\color{black}\noindent\fontspec[Mapping=tex-text]{Gentium}\footnotesize#1}\\% +\noindent\rule{\textwidth}{0.3pt} +\vskip 15pt} {} } -- 2.1.4