Un sacco di cose aggiunte, fra cui un simpatico aggeggio per segnarmi

Leonardo [2010-05-26 16:56]
Un sacco di cose aggiunte, fra cui un simpatico aggeggio per segnarmi
le note.
Filename
leoutils.sty
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}
 {}
 }
ViewGit