ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Tobias Burnus <burnus@net-b.de>
Subject: Re: m-units
Date: Sat, 29 Sep 2001 23:12:31 +0200	[thread overview]
Message-ID: <3BB6393F.B7132F49@net-b.de> (raw)
In-Reply-To: <3BB60ED7.5413619A@web.de>

Hallo Thomas, hi all,

> using m-units, no space appears at the end of the unit. In the example
> ... Dichte 2,65 \Gram\Per\Cubic\Centi\Meter, 27\% Portlandzement der
> Dichte 3,1 \Gram\Per\Cubic\Centi\Meter und 22\% Wasser beträgt ...
> appears no space before the comma and even before the "und".

Well I actually wouldn't expect an space between the 'm' (metre) and a
',' (comma). But there should be naturally a space between 'm' and the
'u' of 'und'.

> What wrong?
I think everything is ok. \TeX\ uses the space after the \Meter to see
it as end-macro-sign. So \TeX{} needs to know that it hasn't to read on.
Solutions:
a) '\Meter\ und'
b) '\Meter{} und'
c) '{\Meter} und'
I actually prefer the first one.

It is possible to try to find out whether a "\foo " should eat the space
or not, but it is not very easy to make it always right. (I think it is
somewhere in de-tex-faq also described, but I cannot find it right now.)

"It's a feature not a bug" ;-)

Tobias

-- 
My programs don't have bugs only random features.


  reply	other threads:[~2001-09-29 21:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-29 18:11 m-units Thomas Lohmann
2001-09-29 21:12 ` Tobias Burnus [this message]
2010-08-03 12:49 m-units Vedran Miletić
2010-08-03 17:33 ` m-units Vedran Miletić

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=3BB6393F.B7132F49@net-b.de \
    --to=burnus@net-b.de \
    /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).