ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* How to set font for units
@ 2003-07-07 15:54 Frank
  2003-07-07 17:03 ` Adam Lindsay
  0 siblings, 1 reply; 2+ messages in thread
From: Frank @ 2003-07-07 15:54 UTC (permalink / raw)


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

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

* Re: How to set font for units
  2003-07-07 15:54 How to set font for units Frank
@ 2003-07-07 17:03 ` Adam Lindsay
  0 siblings, 0 replies; 2+ messages in thread
From: Adam Lindsay @ 2003-07-07 17:03 UTC (permalink / raw)


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
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

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

end of thread, other threads:[~2003-07-07 17:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-07 15:54 How to set font for units Frank
2003-07-07 17:03 ` Adam Lindsay

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