# Re: Changing the lyxlist (labeling environment) formatting

On 02/07/2012 01:39 AM, Jason Heeris wrote:

I am using LyX 2.0.0 under Ubuntu 11.10. I'd like to globally change the format of the header in the labeling environments (aka. lyxlist in the exported TeX source), bsaically bolding the text and increasing the allocated indent.


I realise I can do this on a line-by-line basis, but this seems to defeat the purpose of using LyX in the first place. Is there something I can put in the preamble to make the change for the whole document?


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}