On 07/07/2015 11:47 AM, edu Gpl wrote:
thank you Michael but this difficult, i have 60-80 margin note or margin
table in my book.
i want code for lyx preamle.
You can play with this, goes straigth into the preamble
\def\marginparsetup{%
\small% (you only need this line)
\parindent=0pt \lineskip=0pt \lineskiplimit=0pt%
\tolerance=2000 \hyphenpenalty=300 \exhyphenpenalty=300%
\doublehyphendemerits=100000%
\finalhyphendemerits=\doublehyphendemerits%
}
\let\oldmarginpar\marginpar
\renewcommand{\marginpar}[1]{\oldmarginpar%
[\marginparsetup\raggedleft\hspace{0pt}{#1}]%
{\marginparsetup\raggedright\hspace{0pt}{#1}}}