[OS X TeX] Celsius

Herb Schulz herbs at wideopenwest.com
Tue Feb 15 14:21:15 CET 2005


On 2/15/05 1:49 AM, "Peder Axensten" <peder at axensten.se> wrote:

> I've always been told that in angles there should be no space (30°),
> but in temperatures (and in front of SI-units in general) there should
> (-10 °C, 263 K).
> 

Howdy,

I believe the space is supposed to be a small space, `\,', and the \amt{}{}
macro I wrote does that:

\newcommand{\amt}[2]{\ensuremath{#1\,\mathrm{#2}}}

which allows for the small space. Usage: \amt{30}{\degC} gives 30°C with the
small space between the 30 and the °C. It also allows for super/sub-scripts,
e.g., \amt{9.8}{m/s^2}.

Good Luck,

Herb Schulz
(herbs at wideopenwest.com)

--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
           & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>





More information about the macostex-archives mailing list