[OS X TeX] Celsius
Robert Jones
Robert.Jones at unisa.edu.au
Mon Feb 14 17:31:42 EST 2005
Hi,
On Tuesday, Feb 15, 2005, at 03:29 Australia/Adelaide, Herb Schulz
wrote:
> On 2/14/05 10:39 AM, "Alain Schremmer" <Schremmer.Alain at verizon.net>
> wrote:
>> \textcelsius doesn't work for me (Undefined control sequence)
> It doesn't exist in all fonts. Try using
> \newcommand{\degC}{\mbox{${}^\circ$C}}. Actually, I made a macro
> \ang{} and
> then everything else followed:
> % \ang{30} gives 30° (math or text)
> \newcommand{\ang}[1]{\ensuremath{{#1}^{\circ}}}
> \newcommand{\degree}{\mbox{\ang{}}} % general text degree
> \newcommand{\degC}{\mbox{\degree C}} % Celsius
> \newcommand{\degF}{\mbox{\degree F}} % Farenheit
> \newcommand{\degK}{\mbox{\degree K}} % Kelvin
The SI symbol for degrees Kelvin is just K, not $^{\circ}$K.
Cheers,
Rob
--------------------- 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 MacOSX-TeX
mailing list