Monday, 26 August 2013

Command which uses brackets automatically when applied to more symbols – tex.stackexchange.com

Command which uses brackets automatically when applied to more symbols –
tex.stackexchange.com

How can I define a command like *, similar to
\newcommand{\astcommand}[1]{{#1}^*} but which, when applied to a single
symbol a, gives the output a*, and when applied to multiple symbols, like
abc, …

No comments:

Post a Comment