sinunitx package Announcing the arrival of Valued Associate #679: Cesar Manara ...
What is the difference between a "ranged attack" and a "ranged weapon attack"?
What are the discoveries that have been possible with the rejection of positivism?
Deconstruction is ambiguous
What does this say in Elvish?
What order were files/directories output in dir?
Would it be easier to apply for a UK visa if there is a host family to sponsor for you in going there?
What would you call this weird metallic apparatus that allows you to lift people?
Can the Flaming Sphere spell be rammed into multiple Tiny creatures that are in the same 5-foot square?
A term for a woman complaining about things/begging in a cute/childish way
Converted a Scalar function to a TVF function for parallel execution-Still running in Serial mode
Should a wizard buy fine inks every time he want to copy spells into his spellbook?
If the probability of a dog barking one or more times in a given hour is 84%, then what is the probability of a dog barking in 30 minutes?
Dynamic filling of a region of a polar plot
What do you call the main part of a joke?
Is multiple magic items in one inherently imbalanced?
Crossing US/Canada Border for less than 24 hours
Does the Mueller report show a conspiracy between Russia and the Trump Campaign?
What to do with repeated rejections for phd position
How many morphisms from 1 to 1+1 can there be?
Why are my pictures showing a dark band on one edge?
Has negative voting ever been officially implemented in elections, or seriously proposed, or even studied?
Maximum summed subsequences with non-adjacent items
Why do early math courses focus on the cross sections of a cone and not on other 3D objects?
Did Mueller's report provide an evidentiary basis for the claim of Russian govt election interference via social media?
sinunitx package
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)Comma as decimal marker with siunitx (Spanish usage)% symbol leads to superlong (forever?) compilationselementarycharge command not recognized in siunitx packageExpressing capital M for molar in siunitx packageThe siunitx package messes with manually input thousand-separatorsTypesetting image scale in SI units using the siunitx packageAsymmetric uncertainties with siunitx packageSinunitx, fourier, euro, utf8 problemusing the package siunitxsiunitx package gives an error messagepackage siunitx doesnt work with optionProblems loading siunitx package
What is wrong with this table please? Probably $si{degree}$
. Thank you
documentclass[a4paper]{article}
usepackage{amsmath, amsthm, amssymb, mathtools}
usepackage{siunitx}
begin{document}
begin{table}[h!!]
small
renewcommand{arraystretch}{1.2}
setlengthtabcolsep{3pt}
begin{tabular*}{linewidth}{l@{extracolsep{fill}}c c cS[table-format=3.1]c}
De &V (km) &S ($si{degree}$) &P (min) &Per (dny)\
hline
A & 840 & 98,7& 101,5& 0,07048\
B & 785 & 98,7& 101,4& 0,07041\
C & 775-790& 98,6& 100,4& 0,06972\
D & 612-640& 98,0& 97,1& 0,06743\
end{tabular*}
end{table}
end{document}
siunitx
|
show 1 more comment
What is wrong with this table please? Probably $si{degree}$
. Thank you
documentclass[a4paper]{article}
usepackage{amsmath, amsthm, amssymb, mathtools}
usepackage{siunitx}
begin{document}
begin{table}[h!!]
small
renewcommand{arraystretch}{1.2}
setlengthtabcolsep{3pt}
begin{tabular*}{linewidth}{l@{extracolsep{fill}}c c cS[table-format=3.1]c}
De &V (km) &S ($si{degree}$) &P (min) &Per (dny)\
hline
A & 840 & 98,7& 101,5& 0,07048\
B & 785 & 98,7& 101,4& 0,07041\
C & 775-790& 98,6& 100,4& 0,06972\
D & 612-640& 98,0& 97,1& 0,06743\
end{tabular*}
end{table}
end{document}
siunitx
2
No, the problem is not there
– JouleV
3 hours ago
1
The problem isPer (dny)
, if you replace it bymulticolumn{1}{r}{Per (dny)}
there is no error. The reason is that you cannot use such stuff in anS
column.
– marmot
3 hours ago
2
@marmot We only need{Per (dny)}
.
– JouleV
3 hours ago
1
@JouleV Yes, that's simpler.
– marmot
3 hours ago
@marmot It reminded me of this answer :))
– JouleV
3 hours ago
|
show 1 more comment
What is wrong with this table please? Probably $si{degree}$
. Thank you
documentclass[a4paper]{article}
usepackage{amsmath, amsthm, amssymb, mathtools}
usepackage{siunitx}
begin{document}
begin{table}[h!!]
small
renewcommand{arraystretch}{1.2}
setlengthtabcolsep{3pt}
begin{tabular*}{linewidth}{l@{extracolsep{fill}}c c cS[table-format=3.1]c}
De &V (km) &S ($si{degree}$) &P (min) &Per (dny)\
hline
A & 840 & 98,7& 101,5& 0,07048\
B & 785 & 98,7& 101,4& 0,07041\
C & 775-790& 98,6& 100,4& 0,06972\
D & 612-640& 98,0& 97,1& 0,06743\
end{tabular*}
end{table}
end{document}
siunitx
What is wrong with this table please? Probably $si{degree}$
. Thank you
documentclass[a4paper]{article}
usepackage{amsmath, amsthm, amssymb, mathtools}
usepackage{siunitx}
begin{document}
begin{table}[h!!]
small
renewcommand{arraystretch}{1.2}
setlengthtabcolsep{3pt}
begin{tabular*}{linewidth}{l@{extracolsep{fill}}c c cS[table-format=3.1]c}
De &V (km) &S ($si{degree}$) &P (min) &Per (dny)\
hline
A & 840 & 98,7& 101,5& 0,07048\
B & 785 & 98,7& 101,4& 0,07041\
C & 775-790& 98,6& 100,4& 0,06972\
D & 612-640& 98,0& 97,1& 0,06743\
end{tabular*}
end{table}
end{document}
siunitx
siunitx
asked 3 hours ago
Lukáš AltmanLukáš Altman
485
485
2
No, the problem is not there
– JouleV
3 hours ago
1
The problem isPer (dny)
, if you replace it bymulticolumn{1}{r}{Per (dny)}
there is no error. The reason is that you cannot use such stuff in anS
column.
– marmot
3 hours ago
2
@marmot We only need{Per (dny)}
.
– JouleV
3 hours ago
1
@JouleV Yes, that's simpler.
– marmot
3 hours ago
@marmot It reminded me of this answer :))
– JouleV
3 hours ago
|
show 1 more comment
2
No, the problem is not there
– JouleV
3 hours ago
1
The problem isPer (dny)
, if you replace it bymulticolumn{1}{r}{Per (dny)}
there is no error. The reason is that you cannot use such stuff in anS
column.
– marmot
3 hours ago
2
@marmot We only need{Per (dny)}
.
– JouleV
3 hours ago
1
@JouleV Yes, that's simpler.
– marmot
3 hours ago
@marmot It reminded me of this answer :))
– JouleV
3 hours ago
2
2
No, the problem is not there
– JouleV
3 hours ago
No, the problem is not there
– JouleV
3 hours ago
1
1
The problem is
Per (dny)
, if you replace it by multicolumn{1}{r}{Per (dny)}
there is no error. The reason is that you cannot use such stuff in an S
column.– marmot
3 hours ago
The problem is
Per (dny)
, if you replace it by multicolumn{1}{r}{Per (dny)}
there is no error. The reason is that you cannot use such stuff in an S
column.– marmot
3 hours ago
2
2
@marmot We only need
{Per (dny)}
.– JouleV
3 hours ago
@marmot We only need
{Per (dny)}
.– JouleV
3 hours ago
1
1
@JouleV Yes, that's simpler.
– marmot
3 hours ago
@JouleV Yes, that's simpler.
– marmot
3 hours ago
@marmot It reminded me of this answer :))
– JouleV
3 hours ago
@marmot It reminded me of this answer :))
– JouleV
3 hours ago
|
show 1 more comment
2 Answers
2
active
oldest
votes
You are making the last column of your table as a SI (S
) column, so you must wrap non-number contents in that column inside braces. Btw h!!
is nonsense.
documentclass[a4paper]{article}
usepackage{amsmath, amsthm, amssymb, mathtools}
usepackage{siunitx}
begin{document}
begin{table}[h!]
small
renewcommand{arraystretch}{1.2}
setlengthtabcolsep{3pt}
begin{tabular*}{linewidth}{l@{extracolsep{fill}}c c c S[table-format=3.1]c}
De & V (km) & S (si{degree}) & P (min) &{Per (dny)}\
hline
A & 840 & 98,7 & 101.5 & 0,07048\
B & 785 & 98,7 & 101.4 & 0,07041\
C & 775-790 & 98,6 & 100.4 & 0,06972\
D & 612-640 & 98,0 & 97.1 & 0,06743
end{tabular*}
end{table}
end{document}
However it will change the commas to dots in the last column. To avoid this, read this question.
It seems to me that you are trying to make the second last column to be a SI column, so you should place S[table-format=3.1]
somewhere else. My final answer:
documentclass[a4paper]{article}
usepackage{amsmath, amsthm, amssymb, mathtools}
usepackage[locale=FR]{siunitx}
begin{document}
begin{table}[h!]
small
renewcommand{arraystretch}{1.2}
setlengthtabcolsep{3pt}
begin{tabular*}{linewidth}{l@{extracolsep{fill}}c c S[table-format=3.1]c c}
De & V (km) & S (si{degree}) & {P (min)} & Per (dny)\
hline
A & 840 & 98,7 & 101,5 & 0,07048\
B & 785 & 98,7 & 101,4 & 0,07041\
C & 775-790 & 98,6 & 100,4 & 0,06972\
D & 612-640 & 98,0 & 97,1 & 0,06743
end{tabular*}
end{table}
end{document}
However, take care of the last column. I intentionally keep it, but you may want to reduce its size.
Thank you very much and what is wrong with usingXhline{1.2pt}
in the table?
– Lukáš Altman
3 hours ago
1
@LukášAltman Nothing wrong. I can use it as usual, but I don't recommend it though. Just remember loadingmakecell
package
– JouleV
3 hours ago
Thank you I forgot \
– Lukáš Altman
3 hours ago
add a comment |
i would wrote your table narrower:
and for last three columns use S
column type:
documentclass[a4paper]{article}
usepackage{amsthm, amssymb, mathtools}% mathtools load `amsmath
usepackage[locale=FR]{siunitx}
begin{document}
begin{table}[h!]
renewcommand{arraystretch}{1.1}
begin{tabular}{l c
S[table-format=2.1]
S[table-format=3.1]
S[table-format=1.5]}
De & V (km) & S {(si{degree})} & {P (min)} & {Per (dny)}\
hline
A & 840 & 98,7 & 101,5 & 0,07048\
B & 785 & 98,7 & 101,4 & 0,07041\
C & 775-790 & 98,6 & 100,4 & 0,06972\
D & 612-640 & 98,0 & 97,1 & 0,06743
end{tabular}
end{table}
end{document}
note curly braces around column headers in S
columns!
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',
autoActivateHeartbeat: false,
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%2f485693%2fsinunitx-package%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
You are making the last column of your table as a SI (S
) column, so you must wrap non-number contents in that column inside braces. Btw h!!
is nonsense.
documentclass[a4paper]{article}
usepackage{amsmath, amsthm, amssymb, mathtools}
usepackage{siunitx}
begin{document}
begin{table}[h!]
small
renewcommand{arraystretch}{1.2}
setlengthtabcolsep{3pt}
begin{tabular*}{linewidth}{l@{extracolsep{fill}}c c c S[table-format=3.1]c}
De & V (km) & S (si{degree}) & P (min) &{Per (dny)}\
hline
A & 840 & 98,7 & 101.5 & 0,07048\
B & 785 & 98,7 & 101.4 & 0,07041\
C & 775-790 & 98,6 & 100.4 & 0,06972\
D & 612-640 & 98,0 & 97.1 & 0,06743
end{tabular*}
end{table}
end{document}
However it will change the commas to dots in the last column. To avoid this, read this question.
It seems to me that you are trying to make the second last column to be a SI column, so you should place S[table-format=3.1]
somewhere else. My final answer:
documentclass[a4paper]{article}
usepackage{amsmath, amsthm, amssymb, mathtools}
usepackage[locale=FR]{siunitx}
begin{document}
begin{table}[h!]
small
renewcommand{arraystretch}{1.2}
setlengthtabcolsep{3pt}
begin{tabular*}{linewidth}{l@{extracolsep{fill}}c c S[table-format=3.1]c c}
De & V (km) & S (si{degree}) & {P (min)} & Per (dny)\
hline
A & 840 & 98,7 & 101,5 & 0,07048\
B & 785 & 98,7 & 101,4 & 0,07041\
C & 775-790 & 98,6 & 100,4 & 0,06972\
D & 612-640 & 98,0 & 97,1 & 0,06743
end{tabular*}
end{table}
end{document}
However, take care of the last column. I intentionally keep it, but you may want to reduce its size.
Thank you very much and what is wrong with usingXhline{1.2pt}
in the table?
– Lukáš Altman
3 hours ago
1
@LukášAltman Nothing wrong. I can use it as usual, but I don't recommend it though. Just remember loadingmakecell
package
– JouleV
3 hours ago
Thank you I forgot \
– Lukáš Altman
3 hours ago
add a comment |
You are making the last column of your table as a SI (S
) column, so you must wrap non-number contents in that column inside braces. Btw h!!
is nonsense.
documentclass[a4paper]{article}
usepackage{amsmath, amsthm, amssymb, mathtools}
usepackage{siunitx}
begin{document}
begin{table}[h!]
small
renewcommand{arraystretch}{1.2}
setlengthtabcolsep{3pt}
begin{tabular*}{linewidth}{l@{extracolsep{fill}}c c c S[table-format=3.1]c}
De & V (km) & S (si{degree}) & P (min) &{Per (dny)}\
hline
A & 840 & 98,7 & 101.5 & 0,07048\
B & 785 & 98,7 & 101.4 & 0,07041\
C & 775-790 & 98,6 & 100.4 & 0,06972\
D & 612-640 & 98,0 & 97.1 & 0,06743
end{tabular*}
end{table}
end{document}
However it will change the commas to dots in the last column. To avoid this, read this question.
It seems to me that you are trying to make the second last column to be a SI column, so you should place S[table-format=3.1]
somewhere else. My final answer:
documentclass[a4paper]{article}
usepackage{amsmath, amsthm, amssymb, mathtools}
usepackage[locale=FR]{siunitx}
begin{document}
begin{table}[h!]
small
renewcommand{arraystretch}{1.2}
setlengthtabcolsep{3pt}
begin{tabular*}{linewidth}{l@{extracolsep{fill}}c c S[table-format=3.1]c c}
De & V (km) & S (si{degree}) & {P (min)} & Per (dny)\
hline
A & 840 & 98,7 & 101,5 & 0,07048\
B & 785 & 98,7 & 101,4 & 0,07041\
C & 775-790 & 98,6 & 100,4 & 0,06972\
D & 612-640 & 98,0 & 97,1 & 0,06743
end{tabular*}
end{table}
end{document}
However, take care of the last column. I intentionally keep it, but you may want to reduce its size.
Thank you very much and what is wrong with usingXhline{1.2pt}
in the table?
– Lukáš Altman
3 hours ago
1
@LukášAltman Nothing wrong. I can use it as usual, but I don't recommend it though. Just remember loadingmakecell
package
– JouleV
3 hours ago
Thank you I forgot \
– Lukáš Altman
3 hours ago
add a comment |
You are making the last column of your table as a SI (S
) column, so you must wrap non-number contents in that column inside braces. Btw h!!
is nonsense.
documentclass[a4paper]{article}
usepackage{amsmath, amsthm, amssymb, mathtools}
usepackage{siunitx}
begin{document}
begin{table}[h!]
small
renewcommand{arraystretch}{1.2}
setlengthtabcolsep{3pt}
begin{tabular*}{linewidth}{l@{extracolsep{fill}}c c c S[table-format=3.1]c}
De & V (km) & S (si{degree}) & P (min) &{Per (dny)}\
hline
A & 840 & 98,7 & 101.5 & 0,07048\
B & 785 & 98,7 & 101.4 & 0,07041\
C & 775-790 & 98,6 & 100.4 & 0,06972\
D & 612-640 & 98,0 & 97.1 & 0,06743
end{tabular*}
end{table}
end{document}
However it will change the commas to dots in the last column. To avoid this, read this question.
It seems to me that you are trying to make the second last column to be a SI column, so you should place S[table-format=3.1]
somewhere else. My final answer:
documentclass[a4paper]{article}
usepackage{amsmath, amsthm, amssymb, mathtools}
usepackage[locale=FR]{siunitx}
begin{document}
begin{table}[h!]
small
renewcommand{arraystretch}{1.2}
setlengthtabcolsep{3pt}
begin{tabular*}{linewidth}{l@{extracolsep{fill}}c c S[table-format=3.1]c c}
De & V (km) & S (si{degree}) & {P (min)} & Per (dny)\
hline
A & 840 & 98,7 & 101,5 & 0,07048\
B & 785 & 98,7 & 101,4 & 0,07041\
C & 775-790 & 98,6 & 100,4 & 0,06972\
D & 612-640 & 98,0 & 97,1 & 0,06743
end{tabular*}
end{table}
end{document}
However, take care of the last column. I intentionally keep it, but you may want to reduce its size.
You are making the last column of your table as a SI (S
) column, so you must wrap non-number contents in that column inside braces. Btw h!!
is nonsense.
documentclass[a4paper]{article}
usepackage{amsmath, amsthm, amssymb, mathtools}
usepackage{siunitx}
begin{document}
begin{table}[h!]
small
renewcommand{arraystretch}{1.2}
setlengthtabcolsep{3pt}
begin{tabular*}{linewidth}{l@{extracolsep{fill}}c c c S[table-format=3.1]c}
De & V (km) & S (si{degree}) & P (min) &{Per (dny)}\
hline
A & 840 & 98,7 & 101.5 & 0,07048\
B & 785 & 98,7 & 101.4 & 0,07041\
C & 775-790 & 98,6 & 100.4 & 0,06972\
D & 612-640 & 98,0 & 97.1 & 0,06743
end{tabular*}
end{table}
end{document}
However it will change the commas to dots in the last column. To avoid this, read this question.
It seems to me that you are trying to make the second last column to be a SI column, so you should place S[table-format=3.1]
somewhere else. My final answer:
documentclass[a4paper]{article}
usepackage{amsmath, amsthm, amssymb, mathtools}
usepackage[locale=FR]{siunitx}
begin{document}
begin{table}[h!]
small
renewcommand{arraystretch}{1.2}
setlengthtabcolsep{3pt}
begin{tabular*}{linewidth}{l@{extracolsep{fill}}c c S[table-format=3.1]c c}
De & V (km) & S (si{degree}) & {P (min)} & Per (dny)\
hline
A & 840 & 98,7 & 101,5 & 0,07048\
B & 785 & 98,7 & 101,4 & 0,07041\
C & 775-790 & 98,6 & 100,4 & 0,06972\
D & 612-640 & 98,0 & 97,1 & 0,06743
end{tabular*}
end{table}
end{document}
However, take care of the last column. I intentionally keep it, but you may want to reduce its size.
edited 2 hours ago
answered 3 hours ago
JouleVJouleV
14.4k22664
14.4k22664
Thank you very much and what is wrong with usingXhline{1.2pt}
in the table?
– Lukáš Altman
3 hours ago
1
@LukášAltman Nothing wrong. I can use it as usual, but I don't recommend it though. Just remember loadingmakecell
package
– JouleV
3 hours ago
Thank you I forgot \
– Lukáš Altman
3 hours ago
add a comment |
Thank you very much and what is wrong with usingXhline{1.2pt}
in the table?
– Lukáš Altman
3 hours ago
1
@LukášAltman Nothing wrong. I can use it as usual, but I don't recommend it though. Just remember loadingmakecell
package
– JouleV
3 hours ago
Thank you I forgot \
– Lukáš Altman
3 hours ago
Thank you very much and what is wrong with using
Xhline{1.2pt}
in the table?– Lukáš Altman
3 hours ago
Thank you very much and what is wrong with using
Xhline{1.2pt}
in the table?– Lukáš Altman
3 hours ago
1
1
@LukášAltman Nothing wrong. I can use it as usual, but I don't recommend it though. Just remember loading
makecell
package– JouleV
3 hours ago
@LukášAltman Nothing wrong. I can use it as usual, but I don't recommend it though. Just remember loading
makecell
package– JouleV
3 hours ago
Thank you I forgot \
– Lukáš Altman
3 hours ago
Thank you I forgot \
– Lukáš Altman
3 hours ago
add a comment |
i would wrote your table narrower:
and for last three columns use S
column type:
documentclass[a4paper]{article}
usepackage{amsthm, amssymb, mathtools}% mathtools load `amsmath
usepackage[locale=FR]{siunitx}
begin{document}
begin{table}[h!]
renewcommand{arraystretch}{1.1}
begin{tabular}{l c
S[table-format=2.1]
S[table-format=3.1]
S[table-format=1.5]}
De & V (km) & S {(si{degree})} & {P (min)} & {Per (dny)}\
hline
A & 840 & 98,7 & 101,5 & 0,07048\
B & 785 & 98,7 & 101,4 & 0,07041\
C & 775-790 & 98,6 & 100,4 & 0,06972\
D & 612-640 & 98,0 & 97,1 & 0,06743
end{tabular}
end{table}
end{document}
note curly braces around column headers in S
columns!
add a comment |
i would wrote your table narrower:
and for last three columns use S
column type:
documentclass[a4paper]{article}
usepackage{amsthm, amssymb, mathtools}% mathtools load `amsmath
usepackage[locale=FR]{siunitx}
begin{document}
begin{table}[h!]
renewcommand{arraystretch}{1.1}
begin{tabular}{l c
S[table-format=2.1]
S[table-format=3.1]
S[table-format=1.5]}
De & V (km) & S {(si{degree})} & {P (min)} & {Per (dny)}\
hline
A & 840 & 98,7 & 101,5 & 0,07048\
B & 785 & 98,7 & 101,4 & 0,07041\
C & 775-790 & 98,6 & 100,4 & 0,06972\
D & 612-640 & 98,0 & 97,1 & 0,06743
end{tabular}
end{table}
end{document}
note curly braces around column headers in S
columns!
add a comment |
i would wrote your table narrower:
and for last three columns use S
column type:
documentclass[a4paper]{article}
usepackage{amsthm, amssymb, mathtools}% mathtools load `amsmath
usepackage[locale=FR]{siunitx}
begin{document}
begin{table}[h!]
renewcommand{arraystretch}{1.1}
begin{tabular}{l c
S[table-format=2.1]
S[table-format=3.1]
S[table-format=1.5]}
De & V (km) & S {(si{degree})} & {P (min)} & {Per (dny)}\
hline
A & 840 & 98,7 & 101,5 & 0,07048\
B & 785 & 98,7 & 101,4 & 0,07041\
C & 775-790 & 98,6 & 100,4 & 0,06972\
D & 612-640 & 98,0 & 97,1 & 0,06743
end{tabular}
end{table}
end{document}
note curly braces around column headers in S
columns!
i would wrote your table narrower:
and for last three columns use S
column type:
documentclass[a4paper]{article}
usepackage{amsthm, amssymb, mathtools}% mathtools load `amsmath
usepackage[locale=FR]{siunitx}
begin{document}
begin{table}[h!]
renewcommand{arraystretch}{1.1}
begin{tabular}{l c
S[table-format=2.1]
S[table-format=3.1]
S[table-format=1.5]}
De & V (km) & S {(si{degree})} & {P (min)} & {Per (dny)}\
hline
A & 840 & 98,7 & 101,5 & 0,07048\
B & 785 & 98,7 & 101,4 & 0,07041\
C & 775-790 & 98,6 & 100,4 & 0,06972\
D & 612-640 & 98,0 & 97,1 & 0,06743
end{tabular}
end{table}
end{document}
note curly braces around column headers in S
columns!
answered 1 hour ago
ZarkoZarko
130k869169
130k869169
add a comment |
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.
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%2f485693%2fsinunitx-package%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
No, the problem is not there
– JouleV
3 hours ago
1
The problem is
Per (dny)
, if you replace it bymulticolumn{1}{r}{Per (dny)}
there is no error. The reason is that you cannot use such stuff in anS
column.– marmot
3 hours ago
2
@marmot We only need
{Per (dny)}
.– JouleV
3 hours ago
1
@JouleV Yes, that's simpler.
– marmot
3 hours ago
@marmot It reminded me of this answer :))
– JouleV
3 hours ago