22 Sep
2008
22 Sep
'08
11:48 a.m.
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}} Thomas