[OS X TeX] Celsius

scheissenochmal2003 at yahoo.de scheissenochmal2003 at yahoo.de
Tue Feb 15 20:42:37 CET 2005



Peter S. Burrage wrote:

> I'm sure I'm making some silly mistake but when I use SIunits and 
> \celsius I lose the space between ^oC and the following word.  In 
> addition, I don't see any space at all (small or otherwise) between the 
> final numeral and the degree symbol.
> 
> For instance:
> 
> at 37$^\circ\mathrm{C}$ and 5\% CO$_{2}$  -->  at 37oC and 5% CO2
> 
> but
> 
> at 37\celsius and 5\% CO$_{2}$  -->  at 37oCand 5% CO2

Try: 37{\celsius} and ...
the first space after a command will always be ignored if you don't put 
the command in braces.
To get a small space after the last numeral, put something like

\renewcommand{\degC}{\,\celsius\ }

in your preamble and use 37\degC and. The "\ " at the end also adds a 
forced space, so that you should be able to use the "\degC" command 
without extra {} around.

you could also try to modify the \celsius command in SIunits accordingly 
by adding "\," before the oC and "\ " at the end of the command.

Stephan

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