Re: Text size in margin note
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 : > 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=10% >\finalhyphendemerits=\doublehyphendemerits% >} > > \let\oldmarginpar\marginpar > > \renewcommand{\marginpar}[1]{\oldmarginpar% > [\marginparsetup\raggedleft\hspace{0pt}{#1}]% > {\marginparsetup\raggedright\hspace{0pt}{#1}}} > > > > > > > > > > >
Re: Text size in margin note
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=10% \finalhyphendemerits=\doublehyphendemerits% } \let\oldmarginpar\marginpar \renewcommand{\marginpar}[1]{\oldmarginpar% [\marginparsetup\raggedleft\hspace{0pt}{#1}]% {\marginparsetup\raggedright\hspace{0pt}{#1}}}
Re: Text size in margin note
thank you Michael but this difficult, i have 60-80 margin note or margin table in my book. i want code for lyx preamle. best regards 2015-07-07 18:45 GMT+03:00 edu Gpl : > thank you Michael but this difficult, i have 60-80 margin note or margin > table in my book. > i want code for lyx preamle. > > best regards > > 2015-07-07 14:53 GMT+03:00 Michael Berger : > >> On 07/07/2015 11:25 AM, edu Gpl wrote: >> >>> Dear lyx users >>> Please how i can used \small size for the text of margin note ? >>> Lyx: 2.2dev >>> Margin note: >>> - default margin note >>> And >>> - usepackage{capt-of} for figure and table ( margin). >>> >>> Regards >>> >> Try this: >> Set the cursor inside the text of your marginal note (in the red box), >> then right-click and > Text Style > customized > Size >> >> Michael >> > >
Re: Text size in margin note
On 07/07/2015 11:25 AM, edu Gpl wrote: Dear lyx users Please how i can used \small size for the text of margin note ? Lyx: 2.2dev Margin note: - default margin note And - usepackage{capt-of} for figure and table ( margin). Regards Try this: Set the cursor inside the text of your marginal note (in the red box), then right-click and > Text Style > customized > Size Michael
Text size in margin note
Dear lyx users Please how i can used \small size for the text of margin note ? Lyx: 2.2dev Margin note: - default margin note And - usepackage{capt-of} for figure and table ( margin). Regards