From: Andreas Mang <mang@imt.uni-luebeck.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: spacing: units in math
Date: Tue, 11 Dec 2012 13:49:58 +0100 [thread overview]
Message-ID: <2ACD0816-86A3-4A01-A1EF-1D0816845172@imt.uni-luebeck.de> (raw)
In-Reply-To: <201211302043.16609.romain.diss@yahoo.fr>
Hi,
I still do have problems with a wrong spacing between number and unit in math mode (minimal example below). Clearly, I could do something like
$\alpha = $ \unit{1,2 meter}
but I think this is likely to result in problems with the look of the result in case this is close to a line break.
Cheers,
Andreas
%%%%%%%% MINIMAL EXAMPLE %%%%%%%%
\starttext
\unit{1,2 meter} % what I would expect
$\unit{1,2 meter}$ % wrong spacing
$\unit{1{,}2 meter}$ % there is no output after "1"
\stoptext
%%%%%%%% MINIMAL EXAMPLE %%%%%%%%
Am Nov 30, 2012 um 8:43 PM schrieb Romain Diss <romain.diss@yahoo.fr>:
> Le jeudi 29 novembre 2012, Andreas Mang a écrit :
>> Hi there,
>>
>> I encountered some problems with the built in units command in MKIV. I
>> provide a minimal example which should demonstrate my problems. Maybe I am
>> doing something wrong...
>>
>> \setupbodyfont[pagella]
>> \starttext
>> \unit{11,1e-1 micro mol per second} \par
>> $\unit{11,1e-1 micro mol per second}$ \par
>> \unit{11,1e-1 per second} \par
>> \unit{11,1e-1 / second} \par
>> \stoptext
> Don't know for the first two, but the last two should be replaced by:
> \unit{11,1e-1 inverse second}
>
> All the best.
>
>
> --
> Romain Diss
> <romain.diss@yahoo.fr>
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
___________________________________________________________________________________
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 prev parent reply other threads:[~2012-12-11 12:49 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-29 22:43 problems with units Andreas Mang
2012-11-30 19:43 ` Romain Diss
2012-12-11 12:49 ` Andreas Mang [this message]
2012-12-19 18:18 ` spacing: units in math Andreas Mang
2012-12-21 17:58 ` Hans Hagen
2012-12-21 18:36 ` Andreas Mang
2012-12-21 21:49 ` Hans Hagen
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=2ACD0816-86A3-4A01-A1EF-1D0816845172@imt.uni-luebeck.de \
--to=mang@imt.uni-luebeck.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).