On 5/19/2018 8:04 AM, Scott Kostyshak 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 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 "<". I would like to have the algorithm prioritize a relation character that is outside of delimiters. Before I look at the code, I want to see if anyone else has a desired improvement to how LyX currently splits. Scott I may recommend to develop a tool where you can slide the location of "&" in the equation. Something like tab sign in Word. [cid:part1.162D0226.BA5075C5@hotmail.com]