ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Adam Lindsay" <atl@comp.lancs.ac.uk>
Subject: Re: How to set font for units
Date: Mon, 7 Jul 2003 18:03:23 +0100	[thread overview]
Message-ID: <20030707170323.2246@news.comp.lancs.ac.uk> (raw)
In-Reply-To: <4B0A305B-B093-11D7-8747-000393B6680C@sonnemans.net>

Hello, Frank.

I was also really confused by this for a while. The command to make the
units in the body (or local) font is:
\textdimensionstrue

Without it, I believe units are in the Math font.

hope that helps,
adam

Frank said this at Mon, 7 Jul 2003 17:54:29 +0200:

>Hello,
>
>How do I setup the font used by the SI-Unit abbreviations.
>
>I use something like the following:
>
>\usemodule[units]
>\setupbodyfont[pos,sansserif]
>
>\starttext
>
>The wavelength of the pulsed Nd:YAG laser is 1.064 \Micro\Meter.
>
>\stoptext
>
>The bodytext is in Helvetica, but the units are in times. How can I 
>setup ConTeXt to use the sans-serif font for the units as well?
>
>Regards,
>
>
>Frank
>
>
>_______________________________________________
>ntg-context mailing list
>ntg-context@ntg.nl
>http://www.ntg.nl/mailman/listinfo/ntg-context

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay                      atl@comp.lancs.ac.uk
 Computing Dept, Lancaster University   +44(0)1524/594.537
 Lancaster, LA1 4YR, UK             Fax:+44(0)1524/593.608
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

      reply	other threads:[~2003-07-07 17:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-07 15:54 Frank
2003-07-07 17:03 ` Adam Lindsay [this message]

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=20030707170323.2246@news.comp.lancs.ac.uk \
    --to=atl@comp.lancs.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).