Re: Sillabazione nelle note a margine

#93820
Up
0
Down
::

samiel” post=93395In un testo ho trasformato le \subsection in note a margine clonando graffito.
Poiché tuttavia il testo non viene sillabato. ho adottato il seguente codice
`\makeatletter
\def\graffito@setup{%
\itshape\footnotesize%
\parindent=0pt \lineskip=0pt \lineskiplimit=0pt %
\tolerance=2000 \hyphenpenalty=300 \exhyphenpenalty=300%
\doublehyphendemerits=100000%
\finalhyphendemerits=\doublehyphendemerits}
\DeclareRobustCommand{\marginnote}{}
\let\marginnote\marginpar
\DeclareRobustCommand{\graffito}[1]{\marginnote%
[\graffito@setup\raggedleft\hspace{0pt}{#1}]%
{\graffito@setup\raggedright\hspace{0pt}{#1}}}
\let\marginpar\graffito
\makeatother

\setlength{\marginparwidth}{2cm} % x le note a margine
\setlength{\marginparsep}{0.60cm} % x le note a margine

\usepackage {ragged2e}
%\usepackage{etoolbox}
\patchcmd{\graffito}{\raggedright}{\RaggedRight}{}{}
\patchcmd{\graffito}{\raggedleft}{\RaggedLeft}{}{}`
e tuttavia il testo non viene sillabato ugualmente.
Che cosa altro devo modificare?

grazie

PS
Adesso provo a fare tutto con suftesi, magari quella sillaba 🙂
m

Potresti anche essere interessato in questa soluzione.

Ciao
Claudio

Go to top