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

Trademark violation for app?

Why are vacuum tubes still used in amateur radios?

How long can equipment go unused before powering up runs the risk of damage?

preposition before coffee

What is an "asse" in Elizabethan English?

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?

Did any compiler fully use 80-bit floating point?

What initially awakened the Balrog?

What to do with repeated rejections for phd position

In musical terms, what properties are varied by the human voice to produce different words / syllables?

What are the discoveries that have been possible with the rejection of positivism?

How much damage would a cupful of neutron star matter do to the Earth?

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

Do wooden building fires get hotter than 600°C?

What would you call this weird metallic apparatus that allows you to lift people?

Girl Hackers - Logic Puzzle

Putting class ranking in CV, but against dept guidelines

Flight departed from the gate 5 min before scheduled departure time. Refund options

Converted a Scalar function to a TVF function for parallel execution-Still running in Serial mode

How many morphisms from 1 to 1+1 can there be?

AppleTVs create a chatty alternate WiFi network

How could we fake a moon landing now?

How to write capital alpha?

Karn the great creator - 'card from outside the game' in sealed



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












2















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|edit


















  • 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















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|edit


















  • 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








2








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|edit














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|edit













share|edit











share|edit




share|edit










asked 3 hours ago









Lukáš AltmanLukáš Altman

485




485








  • 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


















4














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
    3 hours ago



















2














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









    4














    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
      3 hours ago
















    4














    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
      3 hours ago














    4












    4








    4







    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 2 hours 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
      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





      @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 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











    2














    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




























      2














      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


























        2












        2








        2







        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

            Why do type traits not work with types in namespace scope?What are POD types in C++?Why can templates only be...

            Will tsunami waves travel forever if there was no land?Why do tsunami waves begin with the water flowing away...

            Simple Scan not detecting my scanner (Brother DCP-7055W)Brother MFC-L2700DW printer can print, can't...