On Sat, May 19, 2018 at 02:08:43PM +0000, David L. Johnson wrote: > On Sat, 19 May 2018 01:04:31 -0400 > Scott Kostyshak <[email protected]> wrote: > > > When in a math display equation, if you press "ctrl + return", LyX > > will turn it into a multi-line equation. I think the default is an > > "align" environment. To do this, LyX tries "split" your current > > equation into two parts. For example, if the equation is: > > > > y = 3x + 5 > > > > LyX guesses that you want "y" on the left box, and "= 3x + 5" in the > > right box. In other words, it splits on the "=" sign. > > > > Do you use this feature? Are there any improvements that you can think > > of? > > I would prefer to have it go into the eqnarry environment rather than > AMS align, or at least default to three columns rather than 2, with the > = in the middle. That way, following lines will have the = sign > aligned, which IMO is how it should be.
If you set amsmath to "Do not Load" in Document > Settings > Math Options, the default will be an eqnarray. > I haven't looked at the code yet, but I'm considering trying to > > improve the algorithm for splitting. My personal use case is that I > > often have expressions of the form > > > > P(X < 3) = 2 > > > > Currently LyX splits this on the "<". > > Well, you could prevent that by replacing "P(X<3)=2" with > "P\left(X<3\right)=2", which is easy to do in LyX. It also looks > better. You are right. I usually just forget to use the smart parentheses. > > I would like to have > the > > algorithm prioritize a relation character that is outside of > > delimiters. > > But LyX doesn't understand them as delimiters unless they are written > as such. True. Scott
signature.asc
Description: PGP signature
