[texhax] units

zsdc zsdc at wp.pl
Fri Jun 13 08:05:52 CEST 2003


msaghafi wrote:

>Hi All, I need some help on using physical units like g/cm^3.
>I am using the \,cm but it dosen't work for cm^3. Any body can help?
>
^ works in math mode (between $ signs), so $x=20cm^3$ will work, but 
"cm" will be in italic type, while units should be roman (am I right?). 
I don't know if this is the right way to do it, but e.g. $x=20$cm$^3$ 
would work, however probably $x=20{\rm cm}^3$ or $x=20\hbox{cm}^3$ would 
be better. Should there be any space between the number and a unit?

-zsdc.




More information about the texhax mailing list