On Mon, Jan 28, 2002 at 11:59:52AM +0100, Jean-Marc Lasgouttes wrote:
> I am extremely happy with LyX. However, recently I discovered some
> behavior that looks like a bug:
> LyX can not do nested displaystyle-formulas. So when I want to do this, I set the
> outermost formula with LyX in displaystyle. The inner part of the formula that I also
> want to be in displaystyle is manually set via "\displaystyle{...}" (ie. LyX shows it
This syntax is wrong. It should be {\displaystyle ...},
and in some cases, you can just write \displaystyle.
> in red, since it can not interprete it). I know, this is not very
> common, but it helps me to make multiline equations that represent conditional
> expressions more readable.
> Now the problem is: when I save the LyX file and load it again, the "\displaystyle"
> command (which was displayed in red) disappears. The curly braces around the
> expression which I want to have in displaystyle are still there.
This is an old bug, and it has been fixed in 1.2.0.
Note that \displaystyle disappears because lyx recognized this macro.
The \displaystyle will be written to the latex file, although it might
appear in a wrong location.
BTW: You might want to use eqnarray for multiline equations
(read UserGuide.lyx).