On 5.03.08, Gwenael Gabard wrote:
> Hi,
> I am trying to type two theorems, one right after the other.
...
> The problem with LyX is that it seems to merge the two theorem
> environments.
This is the standard LyX behaviour (and it works well for environments as
"abstract", where you want subsequent Abstact-paragraphs to go into one
common latex environment.
> Is there a proper way to force LyX to close an environment??? (instead
> of manually inserting a blank line between the two for instance)
LyX provides the "Environment Separator" style for this, which is
basically a non-vanishing empty line with a label.
However, I would like the designers to consider a new type of
"LatexType" besides the existing "Command" and "Environment" that would
IMO be better suited for theorems and similar. It should mix Command
and Environment features:
* LaTeX export would translate to \begin{NAME} ... \end{NAME}
* It is possible to nest other Styles inside
but
* Two consecutive paragraphs in this Style will translate to two
separate environments.
Guenter