# Re: Changing the lyxlist (labeling environment) formatting

On 7 February 2012 22:11, Richard Heck <rgh...@comcast.net> wrote:

>
> You just need to redefine the lyxlist environment, however you wish. You
> can see how LyX defines it from the exported source, or just by looking at
> stdlyxlist.inc, which says:
>
>                \newenvironment{lyxlist}[1]
>                        {\begin{list}{}
>                                {\settowidth{\labelwidth}{#1}
>                                 \setlength{\leftmargin}{\**labelwidth}
>                                 \renewcommand{\makelabel}[1]{#**#1\hfil}}}
>                        {\end{list}}


I have to admit, I'm a bit lost here. In the exported source, all the
environments are generated with:

\begin{lyxlist}{00.00.0000}

There don't seem to be any width specifiers hard-coded into the definition
above, so there's nothing to change for the default label width. How is
that set?

There's also the item labels themselves, which are basically:

\item [{Label goes here}]

...but I don't see what part of the lyxlist definition generates that.
Where do I look for that?

I'm not completely new to LaTeX and TeX, but it's been about 8 years since
I've had to delve into TeX internals to do this sort of stuff, so I would
appreciate some pointers on this.

Cheers,
Jason