2012/1/25 Hans Hagen <pra...@wxs.nl>

> \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.*
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to