Hi there, how to define commands, which are simply short-cuts for some terms? My attempt produces typographical mistakes: %%%%%%%%%%%%%%%%%% \def\testcmd{% Testcommand% } \def\testcmdtwo{% Testcommandtwo } \starttext This is a \testcmd. Everything ok. This \testcmd has no space after, but it should have. This \testcmdtwo has a space after. Everything ok. But this \testcmdtwo, produces one extra spaces after the comma. \stoptext %%%%%%%%%%%%%%%%%% Thank you. Huseyin
On 11/20/2012 3:21 PM, "H. Özoguz" wrote:
This \testcmd has no space after, but it should have.
\testcmd{} or (what I alway sdo in such case:) \testcmd\ Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On Tue, 20 Nov 2012 15:21:08 +0100, H. Özoguz
Hi there,
how to define commands, which are simply short-cuts for some terms?
For short-cuts, \let might be better: \let\shortcmd=\theverylongcommand Lukas -- Ing. Lukáš Procházka [mailto:LPr@pontex.cz] Pontex s. r. o. [mailto:pontex@pontex.cz] [http://www.pontex.cz] Bezová 1658 147 14 Praha 4 Tel: +420 244 062 238 Fax: +420 244 461 038
participants (4)
-
"H. Özoguz"
-
Aditya Mahajan
-
Hans Hagen
-
Procházka Lukáš Ing. - Pontex s. r. o.