How to typeset dimensions of a box?
up vote
12
down vote
favorite
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}{millimetre}
But probably someone else knows a better solution.
siunitx dimensions
add a comment |
up vote
12
down vote
favorite
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}{millimetre}
But probably someone else knows a better solution.
siunitx dimensions
2
I'd useSI{2x3x4}{millimetre}
to avoid confusion
– daleif
Oct 28 '11 at 9:42
Shouldn't it be3 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á Maia
Oct 29 '11 at 3:38
add a comment |
up vote
12
down vote
favorite
up vote
12
down vote
favorite
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}{millimetre}
But probably someone else knows a better solution.
siunitx dimensions
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}{millimetre}
But probably someone else knows a better solution.
siunitx dimensions
siunitx dimensions
edited Oct 28 '11 at 8:21
Martin Scharrer♦
198k45631813
198k45631813
asked Oct 28 '11 at 8:02
Denilson Sá Maia
4,51493032
4,51493032
2
I'd useSI{2x3x4}{millimetre}
to avoid confusion
– daleif
Oct 28 '11 at 9:42
Shouldn't it be3 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á Maia
Oct 29 '11 at 3:38
add a comment |
2
I'd useSI{2x3x4}{millimetre}
to avoid confusion
– daleif
Oct 28 '11 at 9:42
Shouldn't it be3 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á Maia
Oct 29 '11 at 3:38
2
2
I'd use
SI{2x3x4}{millimetre}
to avoid confusion– daleif
Oct 28 '11 at 9:42
I'd use
SI{2x3x4}{millimetre}
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
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á Maia
Oct 29 '11 at 3:38
@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á Maia
Oct 29 '11 at 3:38
add a comment |
1 Answer
1
active
oldest
votes
up vote
24
down vote
accepted
SI[product-units = single]{2 x 3 x 4}{millimetre}
From section 5.13 Numbers with units of the manual.
1
You can also move that to your preamble, by givingsisetup{product-units = single}
, so you don't have to give the option every time.
– Karl
Sep 29 '15 at 12:17
And don't forget you can writeSI[product-units=power]{2 x 3 x 4}{millimetre}
if you are interested in the volume (I know you aren't).
– bers
Nov 5 '15 at 23:28
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f32953%2fhow-to-typeset-dimensions-of-a-box%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
24
down vote
accepted
SI[product-units = single]{2 x 3 x 4}{millimetre}
From section 5.13 Numbers with units of the manual.
1
You can also move that to your preamble, by givingsisetup{product-units = single}
, so you don't have to give the option every time.
– Karl
Sep 29 '15 at 12:17
And don't forget you can writeSI[product-units=power]{2 x 3 x 4}{millimetre}
if you are interested in the volume (I know you aren't).
– bers
Nov 5 '15 at 23:28
add a comment |
up vote
24
down vote
accepted
SI[product-units = single]{2 x 3 x 4}{millimetre}
From section 5.13 Numbers with units of the manual.
1
You can also move that to your preamble, by givingsisetup{product-units = single}
, so you don't have to give the option every time.
– Karl
Sep 29 '15 at 12:17
And don't forget you can writeSI[product-units=power]{2 x 3 x 4}{millimetre}
if you are interested in the volume (I know you aren't).
– bers
Nov 5 '15 at 23:28
add a comment |
up vote
24
down vote
accepted
up vote
24
down vote
accepted
SI[product-units = single]{2 x 3 x 4}{millimetre}
From section 5.13 Numbers with units of the manual.
SI[product-units = single]{2 x 3 x 4}{millimetre}
From section 5.13 Numbers with units of the manual.
edited Dec 6 at 12:52
andselisk
6682621
6682621
answered Oct 28 '11 at 8:15
Torbjørn T.
154k13245433
154k13245433
1
You can also move that to your preamble, by givingsisetup{product-units = single}
, so you don't have to give the option every time.
– Karl
Sep 29 '15 at 12:17
And don't forget you can writeSI[product-units=power]{2 x 3 x 4}{millimetre}
if you are interested in the volume (I know you aren't).
– bers
Nov 5 '15 at 23:28
add a comment |
1
You can also move that to your preamble, by givingsisetup{product-units = single}
, so you don't have to give the option every time.
– Karl
Sep 29 '15 at 12:17
And don't forget you can writeSI[product-units=power]{2 x 3 x 4}{millimetre}
if you are interested in the volume (I know you aren't).
– bers
Nov 5 '15 at 23:28
1
1
You can also move that to your preamble, by giving
sisetup{product-units = single}
, so you don't have to give the option every time.– Karl
Sep 29 '15 at 12:17
You can also move that to your preamble, by giving
sisetup{product-units = single}
, so you don't have to give the option every time.– Karl
Sep 29 '15 at 12:17
And don't forget you can write
SI[product-units=power]{2 x 3 x 4}{millimetre}
if you are interested in the volume (I know you aren't).– bers
Nov 5 '15 at 23:28
And don't forget you can write
SI[product-units=power]{2 x 3 x 4}{millimetre}
if you are interested in the volume (I know you aren't).– bers
Nov 5 '15 at 23:28
add a comment |
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f32953%2fhow-to-typeset-dimensions-of-a-box%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
2
I'd use
SI{2x3x4}{millimetre}
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á Maia
Oct 29 '11 at 3:38