Ruiming Zhang wrote:
Hi,
I am trying to use lyx to write a paper, but I have
met a problem with nesting the enumerate environment
within a theorem. I want to get out of the enumerate
environment without getting out of the theorem, could
you tell me how to do it? This is very common to nest
several lists type conditions and conclusions inside a
mathematics environment like proposition, theorem,
lemma, definition, corollary etc.. Thanks.
Best Regards,
R.Z.
Start a paragraph by selecting the Theorem environment and begin the
theorem. When you reach the enumeration, start a new paragraph, select
the enumerate environment and increase the depth (S-M-Right, or use the
button on the toolbar that looks like an arrow pointing into the middle
of a paragraph). At the end of the enumeration, hit enter and select
the theorem environment again. It should resume your current theorem,
rather than starting a new one.
The key is to make sure that the enumeration is embedded in the theorem
by incrementing its depth.
-- Paul