Guenter Milde wrote:
> Although based on "Description", enumitem's "Labeling/LyX-List" should
> not change the original layout. It seems I forgot to reset the label font.
> 
> Please apply the following patch:

Guenter, this is meant to be applied to trunk? pavel


> --- /usr/local/share/lyx-svn/layouts/enumitem.module  2010-11-26 
> 14:55:27.000000000 +0100
> +++ /home/milde/.lyx-svn/layouts/enumitem.module      2011-01-03 
> 11:55:15.000000000 +0100
> @@ -2,7 +2,7 @@
>  #DescriptionBegin
>  # Control the layout of enumerate, itemize and description
>  # with an optional argument.
> -# See http://dante.ctan.org/CTAN/macros/latex/contrib/enumitem/enumitem.pdf
> +# See http://mirror.ctan.org/macros/latex/contrib/enumitem/enumitem.pdf
>  #DescriptionEnd
>  # Author: Günter Milde <mi...@users.berlios.de>
>  # 
> @@ -97,7 +97,7 @@
>       % mandatory second argument (label-pattern):
>       \newenvironment{elabeling}[2][]%
>         {\settowidth{\lyxlabelwidth}{#2}
> -        \begin{description}[font=,style=sameline,
> +        \begin{description}[font=\normalfont,style=sameline,
>                              leftmargin=\lyxlabelwidth,#1]}
>         {\end{description}}
>       EndPreamble
> 
> 
> The definition allows overriding the settings with the optional
> argument (the increasingly misnamed "Short Title").
> 
> Thanks for pointing this out.
> 
> Günter

Reply via email to