H. Peter Gumm wrote:
Hi LyXers,sorry for a perhaps silly question, but I was unable to solve it with the User Guide. In AMS-style, I need to enumerate items inside Example, Theorem, or Lemma environments I want them to look roughly as follows: Theorem (i) blabla (ii) blablu kjkjkjk oioioi oioio (iii) blubla oipoipoi ipoipoipoipoipoi The only way I was able to nest an enum environment inside a theorem is by putting <Ctrl-Space Enter> in the Theorem then do an enum and increase its depth. Unfortunately, this produces the layout Theorem (i) blabla (ii) blablu (iii) blubla But I don't want - the empty line after "Theorem" - the exaggerated indentation Wat is the trick, or where can I read how to do it ?
I don't think this is easy, since list environments automatically start a new paragraph. I've attached a fairly ugly kludge. You can fiddle with the lengths to taste. There should be a better way to do this, or at least a better way to define the length offsets (one that is less vulnerable to changes in font size), but whatever that might be is beyond my limited TeXpertise.
/Paul PS: This is not to be considered an endorsement of your format. :-)
thmenum.lyx
Description: application/lyx