I have a command defined as
\newcommand{\mb}[1]{\mathbb{#1}}
I was wondering if it is possible to define it in a way that I can write \mbA instead \mb{A}? One way is to define one by one \dbA, \dbB, \dbC, etc. but I hope there is something straightforward to achieve this.
\mb A,\mb B,\mb C, etc instead of\mb{A},\mb{B},\mb{C}, etc. – Mico Oct 01 '22 at 02:38\newcommand*\mb{\mathbb}? – Ulrich Diez Oct 01 '22 at 15:13\mb Adoes work. If you want\mbA/\mbB/\mbC/... to work, each of these control-word-tokens needs to be defined on its own. You can define a loop which does that for you, e.g., as shown in the contribution linked by Werner. – Ulrich Diez Oct 03 '22 at 11:25