Hi,
I want to write a macro which behaves differently depending on whether its
argumet is a single character or not.
\MACRO[a] should give $X_{a}$
\MACRO[a:b] should give $X_{[a:b]}$
Any hints on how to do this?
Thanks,
Aditya
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________