I'm trying to type set something like this "4 x 5 x 6 mm^2". the following command using siunitx package does not generate what I wanted.
\SI{4 x 5 x 6}{mm^3}
Instead, it produces “4 mm^3 x 5 mm^3 x 6 mm^3". How do we correct this?
Thanks.
siunitx
I'm trying to type set something like this "4 x 5 x 6 mm^2". the following command using siunitx package does not generate what I wanted.
\SI{4 x 5 x 6}{mm^3}
Instead, it produces “4 mm^3 x 5 mm^3 x 6 mm^3". How do we correct this?
Thanks.
Best Answer
You are looking for the
product-units
option. It accepts one of five options. Their result is shown in the code sample.Code
Output