Ernesto Posse wrote:
Hi. I have written a new layout style for writing enumerated lists
using roman numerals. However I have a problem. While the generated
document, correctly renders the roman numerals, they do not appear in
the LyX interface. The layout code is below. I thought the problem
would be with the LabelString field, but I have tried different
alternatives such as "MM", "00", etc, and nothing seems to work.
I think the problem is with the LabelType field. I think it should be Static.

rh
Does anyone have an idea of what could be the problem? Or whether
there is some other layout for producing roman enumerated lists?

Thanks.

PS: I'm using LyX 1.5.2 on Vista.


Style RomanEnumerate
        Margin                  Static
        LatexType               Item_Environment
        LatexName               romanumerate
        NextNoIndent    1
        LeftMargin              MMN
        LabelSep                xx
        ParSkip                 0.0
        ItemSep                 0.2
        TopSep                  0.7
        BottomSep               0.7
        ParSep                  0.3
        Align                   Block
        AlignPossible   Block, Left
        LabelType               Counter_EnumI
        LabelCounter    enumi
        LabelString     "(\roman{enumi})"
        LabelFont
          Shape         Italic
          Size                  Normal
          Shape                 Up
        EndFont
        Preamble

\newcommand{\romnum}{\renewcommand{\labelenumi}{(\roman{enumi})}}
                \newenvironment{romanumerate}
                  {\begin{enumerate}
                         \romnum}
                  {\end{enumerate}}
        EndPreamble
End





--
==================================================================
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==================================================================
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto

Reply via email to