* Wrong spacing in \unit
@ 2012-09-13 7:24 Marco Patzer
2012-09-17 7:11 ` Marco Patzer
0 siblings, 1 reply; 2+ messages in thread
From: Marco Patzer @ 2012-09-13 7:24 UTC (permalink / raw)
To: context
Hi,
when \unit is used just with a unit, without a number, the spacing
at the left is wrong. Example:
\starttext
% wrong spacing
(\unit{micro mol per second})
% spacing OK
(\unit{3 micro mol per second})
\stoptext
Marco
___________________________________________________________________________________
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] 2+ messages in thread
* Re: Wrong spacing in \unit
2012-09-13 7:24 Wrong spacing in \unit Marco Patzer
@ 2012-09-17 7:11 ` Marco Patzer
0 siblings, 0 replies; 2+ messages in thread
From: Marco Patzer @ 2012-09-17 7:11 UTC (permalink / raw)
To: ntg-context
2012-09-13 Marco Patzer <homerow@lavabit.com>:
> when \unit is used just with a unit, without a number, the spacing
> at the left is wrong.
Still the same in 2012.09.16 23:18, it doesn't seem that hard to
fix. Maybe just an if-statement to check if the number is provided
and add a space in that case.
So I checked the sources and saw that it might be a feature to
support the syntax with the number not included in the \unit call
(is anyone actually using this syntax?):
3 \unit{micro mol per second}
\unit{3 micro mol per second}
I guess it's hard to check whether there is a number provided before
the \unit command from inside \unit.
Any ideas? It renders it much less useful if it only works with a
unit *and* a number.
Marco
___________________________________________________________________________________
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] 2+ messages in thread
end of thread, other threads:[~2012-09-17 7:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-13 7:24 Wrong spacing in \unit Marco Patzer
2012-09-17 7:11 ` Marco Patzer
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).