![](https://secure.gravatar.com/avatar/da56018fec1036eb1e02305d09a0bce8.jpg?s=120&d=mm&r=g)
25 Jan
2012
25 Jan
'12
12:20 p.m.
2012/1/25 Hans Hagen
\ifmmode
thanks. that was obvious… $\StrikeMe{x}$
unfortunately this does the same as my tikz version: it exits math mode: $\StrikeMe{\ifmmode math mode! \else no math mode :( \fi} \ifmmode math mode. \else wat \fi$ returns no math mode :( *mathmode.*