10 Sep
2008
10 Sep
'08
10:26 a.m.
On Sep 10, 2008, at 11:54 AM, Goebel, Juergen wrote:
Hi,
Does something like \newcommand exist in ConTeXt? My questions aims especially at the optional argument with a predefined value. So, how do I realize
\newcommand{\test}[2][A]{foo}
with ConTeXt. In the fine manual I found an index entry \definecommand, but in the 'rest' of the manual it was never mentioned (print and screen version alike)!
Regards,
Juergen
No, we never define any commands... Err, in fact yes, sometimes we do. You want to read http://wiki.contextgarden.net/System_Macros , especially http://wiki.contextgarden.net/System_Macros/Handling_Arguments HTH Thomas