Re: roman numerals for lists
Guenter Milde wrote: I also have a working "resume enumeration" patch. I.e., one that will get the right display with Gunter's enumitem module. Could you add this version (together with a link to the documentation of the new layout file syntax) to the enumitem page at the Wiki? Once it goes into trunk, I'll probably add such a module to trunk, too, since it's such a common request. rh
Re: roman numerals for lists
On 2009-06-02, rgheck wrote: > Stefano Franchi wrote: >> As far as I know there is still no way to change Lyx's on screen display >> accordingly. Just ignore it and check the pdf every once in a while to make >> sure Latex is producing the output you want > I've just posted a patch that will allow this sort of thing in LyX 2.0. > Unfortunately, it (necessarily) changes the format of the layout files > and so cannot be backported to (the official version of) 1.6. ... > I also have a working "resume enumeration" patch. I.e., one that will > get the right display with Gunter's enumitem module. Could you add this version (together with a link to the documentation of the new layout file syntax) to the enumitem page at the Wiki? Günter
Re: roman numerals for lists
Stefano Franchi wrote: Notice that Paul's sound advice will only change the numbering in the final output NOT in Lyx. As far as I know there is still no way to change Lyx's on screen display accordingly. Just ignore it and check the pdf every once in a while to make sure Latex is producing the output you want I've just posted a patch that will allow this sort of thing in LyX 2.0. Unfortunately, it (necessarily) changes the format of the layout files and so cannot be backported to (the official version of) 1.6. I may patch my own copy, though, and if so will be happy to send you that patch, if you want to use it. I also have a working "resume enumeration" patch. I.e., one that will get the right display with Gunter's enumitem module. Richard
Re: roman numerals for lists
On Friday 29 May 2009 03:43:14 pm Paul A. Rubin wrote: > Hesham Kamel wrote: > > Hi, > > Please, > > I am using enumerate for numbering some paragraphs. How can you show > > roman numerals instead of numbers? > > Thank you > > Prior to the start of the first enumeration where you want Roman > numerals, insert the following in ERT (TeX): > > \renewcommand{\labelenumi}{\roman{enumi}.} > > That makes enumeration labels at the outermost level lower case Roman > numerals followed by a period. Change 'enumi' to 'enumii' (both > occurrences) for second level (nested) enumerations, or to 'enumiii' for > third tier (twice nested) enumerations. Change '\roman' to '\Roman' if > you want upper case Roman numerals (IV rather than iv). If you want > them surround in parentheses rather than followed by a period, include > the desired punctuation in the last argument. > > If you need to return to conventional numbering of an enumeration later, > put the following in ERT prior to the start of that enumeration: > > \renewcommand{\labelenumi}{\arabic{enumi}.} > > You can switch back and forth ad nauseum. > > /Paul Notice that Paul's sound advice will only change the numbering in the final output NOT in Lyx. As far as I know there is still no way to change Lyx's on screen display accordingly. Just ignore it and check the pdf every once in a while to make sure Latex is producing the output you want Cheers, S. __ 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
Re: roman numerals for lists
Hesham Kamel wrote: Hi, Please, I am using enumerate for numbering some paragraphs. How can you show roman numerals instead of numbers? Thank you Prior to the start of the first enumeration where you want Roman numerals, insert the following in ERT (TeX): \renewcommand{\labelenumi}{\roman{enumi}.} That makes enumeration labels at the outermost level lower case Roman numerals followed by a period. Change 'enumi' to 'enumii' (both occurrences) for second level (nested) enumerations, or to 'enumiii' for third tier (twice nested) enumerations. Change '\roman' to '\Roman' if you want upper case Roman numerals (IV rather than iv). If you want them surround in parentheses rather than followed by a period, include the desired punctuation in the last argument. If you need to return to conventional numbering of an enumeration later, put the following in ERT prior to the start of that enumeration: \renewcommand{\labelenumi}{\arabic{enumi}.} You can switch back and forth ad nauseum. /Paul
roman numerals for lists
Hi, Please, I am using enumerate for numbering some paragraphs. How can you show roman numerals instead of numbers? Thank you -- Hesham