Am 19.03.2011 um 04:08 schrieb Aditya Mahajan:

> \def\FancyUppercase#1%
>  {\dostartFancyUppercase#1\dostopFancyUppercase}
> 
> \def\dostartFancyUppercase#1#2\dostopFancyUppercase
>  {\FancyFirstLetter{#1}#2}
> 
> 
> \def\Acronym#1%
>  {\dostartAcronym#1 \dostopAcronym}
> 
> \def\dostartAcronym#1 #2\dostopAcronym
>  {\doifsomething{#1}
>      {\FancyUppercase{#1} %space
>       \dostartAcronym#2 \dostopAcronym}}

\def\Acronym#1%
  {\startpacked
   \processseparatedlist[#1][ ]\doAcronym
   \stoppacked}

\def\doAcronym#1%
  {\getfirstcharacter{#1}%
   {\FancyFirstLetter\firstcharacter}\remainingcharacters\par}

Wolfgang

___________________________________________________________________________________
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