Dear Lyx developers,

I am reposting here a question I asked on the users lists, with no success.
I am trying to write a few simple modules that would modify the numbering of 
sectioning and enumerate environment. Changing the output is trivial with 
LaTex code, but I cannot find out how to change the LyX display.
Here is an example:

Suppose I want lists to have arabic labels at all levels. .
The output producing code would be:

\renewcommand{\theenumi}{\arabic{enumi}}
\renewcommand{\theenumii}{\arabic{enumii}} 
\renewcommand{\theenumiii}{\arabic{enumiii}} 
\renewcommand{\theenumiv}{\arabic{enumiv}} 

But where do I operate to change the LyX display? 

The Enumerate environment is defined in stdlist.inc and it includes the field

        LabelType             Enumerate

but it does not specify where the content of the label is going to come from.
The customization manual does not list "Enumerate" as one of the options of 
LabelType, although it has "Counter" which I suppose *may* be equivalent. 
However, the manual also says:
        
> LabelCounter [string=""]The name of the counter for automatic numbering (see 
> Section [sec:counter] for details). This must be given if Labeltype is 
> Counter.

The Enumerate environment, on the contrary, has no such field defined.

Moreover, there are four different counters for the Enumerate environment, so I 
am not clear exactly what value would be assigned to the LabelCounter field.

Where is the value of the label I see on screen come from? Is it hardwired 
somewhere in the LyX code?

Help is appreciated.

Cheers,

Stefano 
 





______________________________________________________________
Stefano Franchi
Department of Philosophy          Ph:  (979) 862-2211
Texas A&M University              Fax: (979) 845-0458
305B Bolton Hall                  fran...@philosophy.tamu.edu
College Station, TX 77843-4237

Reply via email to