ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* units: \spacedimensionstrue fails when using unit powers
@ 2006-08-02 19:47 Sanjoy Mahajan
  2006-08-02 21:56 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Sanjoy Mahajan @ 2006-08-02 19:47 UTC (permalink / raw)


I'm considering switching from my units macros to the units module.  In
doing that I'm trying \spaceddimensionstrue (found in the m-units.tex
source), which is the most common convention in physics tables and
books, rather than using \Times to separate quantities with a dot.

But it seems not to take account of the exponent in the first unit when
putting space between the first and second units.  Here's a minimal
example:

\usemodule[units]
\spaceddimensionstrue

\starttext

% this looks fine
\startformula
\Meter\Second
\stopformula

% this needs a thinspace after the superscripted 2
\startformula
\Square\Meter\Second
\stopformula

\stoptext

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-08-02 21:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-02 19:47 units: \spacedimensionstrue fails when using unit powers Sanjoy Mahajan
2006-08-02 21:56 ` Hans Hagen

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).