sinunitx package Announcing the arrival of Valued Associate #679: Cesar Manara ...

Do wooden building fires get hotter than 600°C?

Why does it sometimes sound good to play a grace note as a lead in to a note in a melody?

Girl Hackers - Logic Puzzle

Why do early math courses focus on the cross sections of a cone and not on other 3D objects?

Misunderstanding of Sylow theory

Is there any word for a place full of confusion?

The test team as an enemy of development? And how can this be avoided?

What does it mean that physics no longer uses mechanical models to describe phenomena?

Can the Flaming Sphere spell be rammed into multiple Tiny creatures that are in the same 5-foot square?

Semigroups with no morphisms between them

Is it possible for SQL statements to execute concurrently within a single session in SQL Server?

Why are my pictures showing a dark band on one edge?

Why are vacuum tubes still used in amateur radios?

How do living politicians protect their readily obtainable signatures from misuse?

Does the Mueller report show a conspiracy between Russia and the Trump Campaign?

What is the meaning of 'breadth' in breadth first search?

How to write capital alpha?

Strange behavior of Object.defineProperty() in JavaScript

Crossing US/Canada Border for less than 24 hours

Lagrange four-squares theorem --- deterministic complexity

Is multiple magic items in one inherently imbalanced?

How often does castling occur in grandmaster games?

What to do with repeated rejections for phd position

Sum letters are not two different



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












1















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}









share|improve this question


















  • 2





    No, the problem is not there

    – JouleV
    3 hours ago






  • 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








  • 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
















1















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}









share|improve this question


















  • 2





    No, the problem is not there

    – JouleV
    3 hours ago






  • 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








  • 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














1












1








1








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}









share|improve this question














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






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 3 hours ago









Lukáš AltmanLukáš Altman

435




435








  • 2





    No, the problem is not there

    – JouleV
    3 hours ago






  • 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








  • 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





    No, the problem is not there

    – JouleV
    3 hours ago






  • 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








  • 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










2 Answers
2






active

oldest

votes


















3














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}


enter image description here



However, take care of the last column. I intentionally keep it, but you may want to reduce its size.






share|improve this answer


























  • Thank you very much and what is wrong with using Xhline{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 loading makecell package

    – JouleV
    3 hours ago













  • Thank you I forgot \

    – Lukáš Altman
    2 hours ago



















1














i would wrote your table narrower:



enter image description here



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!






share|improve this answer
























    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
    });


    }
    });














    draft saved

    draft discarded


















    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









    3














    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}


    enter image description here



    However, take care of the last column. I intentionally keep it, but you may want to reduce its size.






    share|improve this answer


























    • Thank you very much and what is wrong with using Xhline{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 loading makecell package

      – JouleV
      3 hours ago













    • Thank you I forgot \

      – Lukáš Altman
      2 hours ago
















    3














    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}


    enter image description here



    However, take care of the last column. I intentionally keep it, but you may want to reduce its size.






    share|improve this answer


























    • Thank you very much and what is wrong with using Xhline{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 loading makecell package

      – JouleV
      3 hours ago













    • Thank you I forgot \

      – Lukáš Altman
      2 hours ago














    3












    3








    3







    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}


    enter image description here



    However, take care of the last column. I intentionally keep it, but you may want to reduce its size.






    share|improve this answer















    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}


    enter image description here



    However, take care of the last column. I intentionally keep it, but you may want to reduce its size.







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited 1 hour ago

























    answered 3 hours ago









    JouleVJouleV

    14.4k22664




    14.4k22664













    • Thank you very much and what is wrong with using Xhline{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 loading makecell 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






    • 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













    • 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











    1














    i would wrote your table narrower:



    enter image description here



    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!






    share|improve this answer




























      1














      i would wrote your table narrower:



      enter image description here



      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!






      share|improve this answer


























        1












        1








        1







        i would wrote your table narrower:



        enter image description here



        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!






        share|improve this answer













        i would wrote your table narrower:



        enter image description here



        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!







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 1 hour ago









        ZarkoZarko

        130k869169




        130k869169






























            draft saved

            draft discarded




















































            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.




            draft saved


            draft discarded














            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





















































            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







            Popular posts from this blog

            Gersau Kjelder | Navigasjonsmeny46°59′0″N 8°31′0″E46°59′0″N...

            Hestehale Innhaldsliste Hestehale på kvinner | Hestehale på menn | Galleri | Sjå òg |...

            What is the “three and three hundred thousand syndrome”?Who wrote the book Arena?What five creatures were...