[OS X TeX] Celsius

Peder Axensten peder at axensten.se
Tue Feb 15 02:49:34 EST 2005


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

On 14 feb 2005, at 17.59, 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)
>>
>> I have no idea what else to try.
>>
>> What obvious thing am I missing?
>>
>> Regards
>> --schremmer
>
> Howdy,
>
> 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
> \newcommand{\degR}{\mbox{\degree R}} % Rankin
>
> 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>
>
>
>
/Peder
+46-90-786.7719 (work)
+46-90-32344 (home)

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