I'm trying to create an equation where the letter "I" has a horizontal line through it. The only name I know for this action is "strikethrough" but I'm not sure if this would be correct when dealing with equations specifically; I don't want the line to be too long.
I've tried the ulem
, soul, sout
and cancel
but none of these seem to work inside a \begin{equation}
… \end{equation}
environment.
Best Answer
Box the contents in an
\mbox
that you then use insideequation
as a macro.A slightly more verbatim boxing technique is to set everything inside a box using
lrbox
and then just use the box via\usebox
:Use
\ooalign
to overlay symbols (an$I$
and a horizontal rule):See
\subseteq
+\circ
as a single symbol (“open subset”) for a short course in\ooalign
.