Up: Elements reference



<unit> – physical quantity

No attributes.

Possible Contents: Text

Description: Inserts a physical quantity, see Almost LaTeX formulae.

<unit>3 m</unit>

yields in LaTeX `$3$\,m'. So it guarantees a neat skip between number and unit, and for configurations with different fonts for number in- and outside mathematics it chooses the correct one. Further advantage: Things like

The gravitational constant is
<unit>6.672&middot;10^{-11} m^3 kg^{-1} s^2</unit>.

(notice the spaces!) yields

The gravitational constant is
unit.png.

So, units in upshape with small skips inbetween. You must assure that the first space is between the number and the unit, or alternatively you must put a `~' between number and unit.

For the explicit namespace see <m> above. It makes it possible to be used inside MathML's <math>.