Am 22.09.2008 um 13:48 schrieb Thomas A. Schmitz:

>
> On Sep 22, 2008, at 1:24 PM, Steffen Wolfrum wrote:
>
>> It should be something like \Colorit{this} example:
>>
>> \def\Colorit{\it\color[magenta]}
>>
>>
>> But this above never closes the italics, while ...
>>
>> \def\Colorit{\strut\groupedcommand\it\color[magenta]\/}
>>
>> ... gives an error.
>>
>>
>> Someone can help?
>>
>>
>> St.
>
> You want your command to take an argument, so you have to mention that
> argument in the definition (untested):
>
> \define[1]\Colorit%
>   {\color[magenta]{\it #1}}



... same problem as in Taco's proposal: the \it never stops


st.
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to