From: "\"H. Özoguz\"" <h.oezoguz@mmnetz.de>
To: ntg-context@ntg.nl
Subject: Spaces in commands
Date: Tue, 20 Nov 2012 15:21:08 +0100 [thread overview]
Message-ID: <50AB91D4.1090804@mmnetz.de> (raw)
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
___________________________________________________________________________________
next reply other threads:[~2012-11-20 14:21 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-20 14:21 "H. Özoguz" [this message]
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.
[not found] <mailman.268.1353423753.2161.ntg-context@ntg.nl>
2012-11-21 7:38 ` "H. Özoguz"
2012-11-21 7:59 ` Wolfgang Schuster
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=50AB91D4.1090804@mmnetz.de \
--to=h.oezoguz@mmnetz.de \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).