Thanks, Yue. I suspected it should be two ways: pure TeX and ConTeXt way. En/na Yue Wang ha escrit:
\def\dist#1{d(\sigma_g(#1), \sigma_h(#1))} or something more context way: \define[1]\dist{d(\sigma_g(#1), \sigma_h(#1))}
On Tue, May 12, 2009 at 1:05 AM, Xan
wrote: Hi,
In latex is wonderful be able to make abreviatures like:
\newcommand{\dist}[1]{d(\sigma_g(#1), \sigma_h(#1))}
and use like $\dist{t}$, ... for not typing all the text.
What is the ConTeXt version of that? Please CC mail me.
Thanks a lot, Xan. ___________________________________________________________________________________ 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 ___________________________________________________________________________________