[NTG-context] \newcommand ala ConTeXt

2009-05-11 Thread Xan
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.

Re: [NTG-context] \newcommand ala ConTeXt

2009-05-11 Thread Yue Wang
\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 dxpubl...@telefonica.net wrote: Hi, In latex is wonderful be able to make abreviatures like: \newcommand{\dist}[1]{d(\sigma_g(#1),

Re: [NTG-context] \newcommand ala ConTeXt

2009-05-11 Thread Hans Hagen
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. see s-abr-* for examples ... one can have several

Re: [NTG-context] \newcommand ala ConTeXt

2009-05-11 Thread Xan
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 dxpubl...@telefonica.net wrote: