24 Luglio 2008 alle 8:49
#25621
::
Funziona eccome, ma, se non metti \makeatletter e \makeatother, no. 😀 `\makeatletter
% Graffiti as in GKP's book “Concrete Mathematics”
\def\graffito@setup{%
\slshape\footnotesize%\small%
\parindent=0pt \lineskip=0pt \lineskiplimit=0pt %\baselineskip=10pt
\tolerance=2000 \hyphenpenalty=300 \exhyphenpenalty=300 %
\doublehyphendemerits=100000 \finalhyphendemerits=\doublehyphendemerits}
\DeclareRobustCommand{\graffito}[1]{\marginpar
[\graffito@setup\raggedleft\hspace{0pt}#1]
{\graffito@setup\raggedright\hspace{0pt}#1}}
\makeatother`
Ciao
Andrea