Am Montag, 17. Oktober 2016 um 14:57:02, schrieb Scott Kostyshak <skost...@lyx.org> > On Mon, Oct 17, 2016 at 08:10:04PM +0200, Enrico Forestieri wrote: > > On Sun, Oct 16, 2016 at 11:27:02PM -0400, Scott Kostyshak wrote: > > > > I tested it out and have a couple of questions. Attached is a file. If I > > > compile I get an error ("there's no line to end here"). If I put the > > > cursor at the end of "hello" and press (forward) delete to remove the > > > newline (nothing changes on the screen) and then compile, there is no > > > error. > > > > Fixed at c1bfaa5c. > > Tested and confirmed. > > > > A second question is: Is the diagonal line supposed to be so large? > > > Screenshot attached. > > > > Yes, unfortunately. There is no way (that I know of) for determing the > > width occupied by displayed math, > > Neither can I. The only thing I can think of is to preview the display > equation but that seems like a bad hack for something like this. > > > However, one can redefine \lyxmathsout > > and customize the width of the line case by case. See the attached first > > example. Maybe that hook should be provided by default? > > Could be. I think leaving it how you had it is fine though. This is only > about aesthetics. The important thing is that thanks to your fix, the > information that the display equation was deleted can now be accurately > conveyed it the output. > > > I also explored other different ways for striking out displayed math. > > I like very much method 1 in the second attached example. However, it is > > more complicated to automate in LyX. Maybe I could do that when I find > > the necessary time and introduce some preference for choosing the way > > display math is striked out. But don't hold your breath while waiting ;-) > > OK. > > One more detail I noticed is that the size of the equation is not > accurate when showing the changes in output. Again, I don't think this > is that important since the information that the equation was deleted is > the only critical thing, but I report it nonetheless. To see this, > compile the attached example file with "show changes in output". The > equations should be the same size.
For me, they look same size. > Scott Kornel
signature.asc
Description: This is a digitally signed message part.