Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I want to typeset something like this: 3.0 × 3.0 × 0.9 mm

How can I do that in LaTeX (using siunitx package)?

So far, I have this:

\num{3.0} × \num{3.0} × \SI{0.9}{\milli\metre}

But probably someone else knows a better solution.

share|improve this question
1  
I'd use \SI{2x3x4}{\milli\metre} to avoid confusion –  daleif Oct 28 '11 at 9:42
    
Shouldn't it be 3 x 3 x 0.9 mm^3, since the expression describes a volume, not a length? –  Jake Oct 29 '11 at 3:27
    
@Jake, strictly speaking, you are right. But in this context I was only interested in the length dimensions of a box, and not its volume. –  Denilson Sá Oct 29 '11 at 3:38
add comment

1 Answer

up vote 15 down vote accepted
\SI[product-units = single]{2 x 3 x 4}{\milli\metre}

enter image description here

From section 5.11 Numbers with units of the manual.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.