ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Sanjoy Mahajan <sanjoy@mrao.cam.ac.uk>
Subject: units: \spacedimensionstrue fails when using unit powers
Date: Wed, 02 Aug 2006 15:47:07 -0400	[thread overview]
Message-ID: <E1G8MgN-0001J6-8s@approximate.corpus.cam.ac.uk> (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

             reply	other threads:[~2006-08-02 19:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-02 19:47 Sanjoy Mahajan [this message]
2006-08-02 21:56 ` 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=E1G8MgN-0001J6-8s@approximate.corpus.cam.ac.uk \
    --to=sanjoy@mrao.cam.ac.uk \
    --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).