> From: Liviu Andronic <[email protected]> > Sent: Sun, 21 November, 2010 15:05:50
> What should one do when the regular \not way of striking out math
> produces ugly output? See attached example. In this case I'd like to
> use regular strikeout (as from within Text style), but it doesn't seem
> to work on Math.
>
You can enter text mode with \text, use the strikeout command manually (it's
\sout), then use \ensuremath to get back into math mode. For instance, paste
this into a LyX math environment:
\text{\sout{\ensuremath{a^bc}}}
The attached file has a macro to simplify this, and to make the equations look
a
bit more bearable while you're editing them (I still recommend turning on
instant preview though). Note that since you're essentially bypassing LyX for
this command:
* you'll need to manually put "\usepackage{ulem}" in the preamble, as done in
the attachment.
* you may need to change the AMS math package settings to force that package to
be used too.
To repeat and add to what Uwe said:
* If you really mean "this is not true", then strikeout isn't appropriate.
However, if you're cancelling variables, say because you're teaching this to
high school students, then strikeout is correct.
* Whatever stage your students are at, multiple-character variables should
*definitely* not be in italics! Use \operatorname to enclose such variables
(see
attachment for an example of this, too).
Jim
Math strikeout.lyx
Description: Binary data
