thank you
i used this code:

%%%%%%%%%%%%%%

\let\margin\marginpar%%%

\newcommand\mymargin[1]{\margin{\raggedright\scriptsize #1}}

\renewcommand{\marginpar}[1]{\mymargin{#1}}

%%%%%%%%%%%%%%

2015-07-09 0:04 GMT+03:00 PhilipPirrip <p...@net.hr>:

> 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}}}
>
>
>
>
>
>
>
>
>
>
>

Reply via email to