Discussion:
Make \slashed{} package render in Preview
Jacob Shapiro
2014-08-22 20:20:47 UTC
Permalink
Is there a way to make \slashed{}, \Braket{}, \Set{} etc render also
during math-editing and not only when the math-box is unfocused?

Example: Loading Image...

Otherwise long formulas become even longer to edit :-(
Richard Heck
2014-08-22 20:45:40 UTC
Permalink
Post by Jacob Shapiro
Is there a way to make \slashed{}, \Braket{}, \Set{} etc render also
during math-editing and not only when the math-box is unfocused?
Example: http://i.imgur.com/Y8xPKEt.png
Otherwise long formulas become even longer to edit :-(
Only with changes to the codebase.

I occasionally have the long formula problem, too. I think it should
partly be solved by
some improvements that I hope will appear in 2.2.0.

Richard
Jacob Shapiro
2014-08-22 20:55:20 UTC
Permalink
Post by Richard Heck
Post by Jacob Shapiro
Is there a way to make \slashed{}, \Braket{}, \Set{} etc render also
during math-editing and not only when the math-box is unfocused?
Example: http://i.imgur.com/Y8xPKEt.png
Otherwise long formulas become even longer to edit
Only with changes to the codebase.
I occasionally have the long formula problem, too. I think it should
partly be solved by
some improvements that I hope will appear in 2.2.0.
Richard
Dear Richard,

Thanks for your answer.

Is the new solution in 2.2.0 that you're referring to part of the 2013 GSOC:
http://wiki.lyx.org/GSoC/HorizontalScrollbar
?

If not, I'd love to know what it is. If yes, I've already started using it and
it is a great relief!

About the changes to the codebase to make \slashed{}, \Braket{} etc
render in math-edit mode,

do you reckon those changes would have to be made on a per-package
basis, or could it be

a once-and-for-all addition?

~Jacob
Richard Heck
2014-08-22 21:43:36 UTC
Permalink
Post by Jacob Shapiro
Post by Richard Heck
Post by Jacob Shapiro
Is there a way to make \slashed{}, \Braket{}, \Set{} etc render also
during math-editing and not only when the math-box is unfocused?
Example: http://i.imgur.com/Y8xPKEt.png
Otherwise long formulas become even longer to edit
Only with changes to the codebase.
I occasionally have the long formula problem, too. I think it should
partly be solved by
some improvements that I hope will appear in 2.2.0.
Richard
Dear Richard,
Thanks for your answer.
http://wiki.lyx.org/GSoC/HorizontalScrollbar
?
Yes.
Post by Jacob Shapiro
About the changes to the codebase to make \slashed{}, \Braket{} etc
render in math-edit mode, do you reckon those changes would have to be made on a per-package basis, or could it be a once-and-for-all addition?
I believe each command like this has to be handled separately, though if
we're talking about individual symbols, then it's easier, if some font
provides the relevant symbol. I think one then just has to add
appropriate code to the lib/symbols file. But I'm not well informed
about this.

Richard
Jim Oldfield
2014-08-23 13:33:40 UTC
Permalink
Post by Jacob Shapiro
Is there a way to make \slashed{}, \Braket{}, \Set{} etc
render also during math-editing and not only when the
math-box is unfocused?
Example: http://i.imgur.com/Y8xPKEt.png
A workaround for commands like this that are not supported natively in LyX
is to wrap them in a math macro. Then you can put something somewhat similar
in the "LyX" field, and the true command in the "TeX" field.

Here's your example treated this way:
http://imgur.com/It2EXg0

Jim

Loading...