ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Spaces in commands
@ 2012-11-20 14:21 "H. Özoguz"
  2012-11-20 14:50 ` Hans Hagen
  2012-11-20 15:02 ` Procházka Lukáš Ing. - Pontex s. r. o.
  0 siblings, 2 replies; 6+ messages in thread
From: "H. Özoguz" @ 2012-11-20 14:21 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-11-21  7:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <mailman.268.1353423753.2161.ntg-context@ntg.nl>
2012-11-21  7:38 ` Spaces in commands "H. Özoguz"
2012-11-21  7:59   ` Wolfgang Schuster
2012-11-20 14:21 "H. Özoguz"
2012-11-20 14:50 ` Hans Hagen
2012-11-20 14:59   ` Aditya Mahajan
2012-11-20 15:02 ` Procházka Lukáš Ing. - Pontex s. r. o.

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).