# Re: line spacing in lyxlist type lists

Liviu Andronic <landronim...@gmail.com> írta:
>On Fri, Dec 2, 2011 at 12:56 PM, Csikos Bela <bcsikos...@freemail.hu> wrote:>
> Hello:>
>>
> How can I set or change the line spacing of the lyxlist style in lyx 2?>
> I would like to set the distance between the list items, and also the
> linespace within the item. It is also fine if I have to use latex code, or
> edit the preamble.>
>>
Look into the docs of the 'enumitem' module.>
>

Thanks.

I looked at the lyx's user guide and I found the following in section 3.3.7.3:

You can decrease the space by adding an optional argument to the ﬁrst item of
the list. There add the command nolistsep to get no additional list space like
in this example:
• A bullet list
• vertical space

If I understand correctly I have to add '\nolistsep' in TEX code, but I don't
know where.  If add it right before the first item I get error message:

\item \nolistsepaaaaaaaaaaaaaaaaa

The control sequence at the end of the top line
of your error message was never \def'ed.

The lyx user guide is very obscure in regard how and where to insert the
commands.

bcsikos