sinunitx package Announcing the arrival of Valued Associate #679: Cesar Manara ...
Do I really need to have a message in a novel to appeal to readers?
How did Fremen produce and carry enough thumpers to use Sandworms as de facto Ubers?
Significance of Cersei's obsession with elephants?
How does light 'choose' between wave and particle behaviour?
Why can't I install Tomboy in Ubuntu Mate 19.04?
Co-worker has annoying ringtone
What is the meaning of 'breadth' in breadth first search?
Putting class ranking in CV, but against dept guidelines
What would you call this weird metallic apparatus that allows you to lift people?
Karn the great creator - 'card from outside the game' in sealed
What is the difference between a "ranged attack" and a "ranged weapon attack"?
Crossing US/Canada Border for less than 24 hours
How were pictures turned from film to a big picture in a picture frame before digital scanning?
Time evolution of a Gaussian wave packet, why convert to k-space?
Output Devanagari (Hindi) from raw unicode using luatex
What initially awakened the Balrog?
The Nth Gryphon Number
Is it possible for SQL statements to execute concurrently within a single session in SQL Server?
Most bit efficient text communication method?
Why do early math courses focus on the cross sections of a cone and not on other 3D objects?
In musical terms, what properties are varied by the human voice to produce different words / syllables?
Lagrange four-squares theorem --- deterministic complexity
Did any compiler fully use 80-bit floating point?
Why does it sometimes sound good to play a grace note as a lead in to a note in a melody?
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
435
435
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
2 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
2 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
2 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 1 hour 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
2 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
2 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
2 hours ago
Thank you I forgot \
– Lukáš Altman
2 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