Peter,

When I use a fresh install of LyX 2.0beta, with KOMA-script article and the 
enumitem module, I cannot reproduce the problem.  The lists seem to appear as 
expected.  The label is not indented and flush with the item text.

With respect to the problem of indenting, I notice that in your pictures the 
source view of the problem document has the command "\noindent" for every list 
item.  My source (using KOMA, enumitem) looks the same as yours, except my 
"elabeling" lists do not not have the "\noindent" commands.

\begin{elabeling}{00.00.0000}
\item [{Label~One}] Blah Blah lots of text...
\item [{Label~Two}] Blah Blah even more text...
\item [{Label~Three}] Blah Blah the last text...
\end{elabeling}

If I export my document to LaTeX and then add the \noindent commands manually, 
the lists end up showing the problem behavior you mention--the labels become 
aligned with the item text.

I don't know enough to offer suggestions about where the \noindent commands are 
coming from, but it seems like you may have another setting/package that is 
interfering.  Wiser heads on the list here might know automatically what the 
problem is, or, if you can attach your LyX source file that might show 
something also.


Also, I was not sure from your post if you considered the bold labels to be a 
problem with the enumitem "Labeling" environment (alias lyx-lists).  This is 
expected behavior I think, because the enumitem.module defines its list 
environment based on the description environment, which is bold by default in 
LyX.

You can change the labels in various ways using the options specified in 
enumitem package documentation.

For example, to remove the bold in the enumitem "Labeling" environment labels, 
you could add the following to your preamble:

\renewenvironment{elabeling}[2][]%
  {\settowidth{\lyxlabelwidth}{#2}
   \begin{description}[font=\normalfont,style=sameline,
       leftmargin=\lyxlabelwidth,#1]}
  {\end{description}}


Regards,

Daron



On 2 Jan 2011, at 01:34, Peter Baumgartner wrote:

> Hello,
> 
> I'm not sure but I believe that there is a problem with the new
> enumitem.module. If  I have embedded this module in my document than the
> formats "description" and "lyx-list"  do not display correctly anymore. They
> are intended and the labels are bold in both cases. It displays correctly
> without enumitem.module or with using the old module delivered with version
> 1.6.8. (see graphics: test-enumitem1 with module enumitem and test-enumitem1
> the same text without the module.).
> 
> I'm afraid that I'm doing something completely wrong, because this obvious
> problem would have been noticed by other people already. I have used for
> test purposes a minimal file without other modules besides "enumitem" and
> without any preamble commands with document class KOMA-script (article and
> book)
> 
> Peter
> 
> <test-enumitem2.png><test-enumitem1.png>

Reply via email to