* Some issues with \unit
@ 2013-06-11 12:22 Marco Patzer
0 siblings, 0 replies; only message in thread
From: Marco Patzer @ 2013-06-11 12:22 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 938 bytes --]
Hi,
most of these issues already have been discussed last year¹, but
they don't seem to be solved, yet.
1) \unit{10^3} does display as 10✕10³. This is confusing and wrong.
2) Expressions like \unit{e3} result in ✕10³ instead of 10³. The
multiplication sign should be dropped in this case.
3) The minus sign: \unit{e-3} It's too long. In math mode the
correct character is used, but the spacing is messed up.
4) AFAIK there's not yet an interface to change the multiplication
sign.
\def\digitstimessymbol
{\kern.2\emwidth\cdot\kern.2\emwidth}
Full example:
\starttext
\unit{10^3 second} \crlf %% ⇒ 10✕10³ s
\unit{10^{-3} second} \crlf %% wrong — sign, too long
\math{\unit{10^{-3} second}} \crlf %% wrong spacing
\unit{e3 second} \crlf %% ⇒ ✕10³ s
\stoptext
Marco
¹ http://www.ntg.nl/pipermail/ntg-context/2012/070057.html
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 490 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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] only message in thread
only message in thread, other threads:[~2013-06-11 12:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-11 12:22 Some issues with \unit 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).