Can't locate error in latex table












0















begin{table}[ht]
centering
adjustbox{max width=1textwidth}{
small
begin{tabular}{c|c|*{7}{c|}}
multicolumn{2}{c}{} & multicolumn{7}{c}{Variance ($sigma^{2}$)} tabularnewline
cline{2-9}
multirow{8}*{rotatebox{90}{Mean ($mu$)}} &
& bfseries 0 & bfseries 2 & bfseries 6 & bfseries 10 & bfseries 14 &bfseries 18 & bfseries 20 tabularnewline
cline{2-10}
& bfseries 0 & 1682.183 & 1681.979 & 1681.759 & 1681.652 & 1681.620 & 1681.603 & 1681.595 tabularnewline
cline{2-10}
& bfseries 0.5 & 1693.820 & 1689.220 & 1682.688 & 1681.661 & 1681.622 & 1681.603 & 1681.595tabularnewline
cline{2-10}
& bfseries 2 & 1698.682 & 1695.159 & 1687.257 & 1682.034 & 1681.633 & 1681.604 & 1681.596 tabularnewline
cline{2-10}
& bfseries 5 & 1700.203 & 1697.297 & 1690.221 & 1683.147 & 1681.743 & 1681.608 & 1681.597 tabularnewline
cline{2-10}
& bfseries 8 & 1701.064 & 1698.618 & 1692.169 & 1684.388 & 1682.033 & 1681.616 & 1681.598 tabularnewline
cline{2-10}
& bfseries 12 & 1701.651 & 1699.463 & 1693.457 & 1685.524 & 1682.497 & 1681.668 & 1681.605 tabularnewline
cline{2-10}
& bfseries 15 & 1702.081 & 1699.804 & 1693.958 & 1686.039 & 1682.757 & 1681.710 & 1681.608 tabularnewline
cline{2-10}
end{tabular}
}
label{table:errors}
caption{a caption.}
end{table}


Any ideas on why I'm getting an error on my table?










share|improve this question


















  • 2





    Welcome to TeX.SX! Please make your code compilable (if possible), or at least complete it with documentclass{...}, the required usepackage's, begin{document}, and end{document}. That may seem tedious to you, but think of the extra work it represents for TeX.SX users willing to give you a hand. Help them help you: remove that one hurdle between you and a solution to your problem.

    – Stefan Pinnow
    Jan 7 at 13:31






  • 1





    {c|c|*{7}{c|}} declares 9 columns but cline{2-10} uses column 10....

    – David Carlisle
    Jan 7 at 13:43











  • unrelated but label{table:errors}caption{a caption.} won't give an error message, but won't work, the label has to be after, or in, the caption.

    – David Carlisle
    Jan 7 at 13:44













  • adjustbox{max width=1textwidth}{ only scale tables as a last resort (and even then do not do it) it produces inconsistent font sizes and rule widths and a very distracting document as a result.

    – David Carlisle
    Jan 7 at 13:45











  • @DavidCarlisle Thanks! That was it!!!

    – laza
    Jan 7 at 13:46
















0















begin{table}[ht]
centering
adjustbox{max width=1textwidth}{
small
begin{tabular}{c|c|*{7}{c|}}
multicolumn{2}{c}{} & multicolumn{7}{c}{Variance ($sigma^{2}$)} tabularnewline
cline{2-9}
multirow{8}*{rotatebox{90}{Mean ($mu$)}} &
& bfseries 0 & bfseries 2 & bfseries 6 & bfseries 10 & bfseries 14 &bfseries 18 & bfseries 20 tabularnewline
cline{2-10}
& bfseries 0 & 1682.183 & 1681.979 & 1681.759 & 1681.652 & 1681.620 & 1681.603 & 1681.595 tabularnewline
cline{2-10}
& bfseries 0.5 & 1693.820 & 1689.220 & 1682.688 & 1681.661 & 1681.622 & 1681.603 & 1681.595tabularnewline
cline{2-10}
& bfseries 2 & 1698.682 & 1695.159 & 1687.257 & 1682.034 & 1681.633 & 1681.604 & 1681.596 tabularnewline
cline{2-10}
& bfseries 5 & 1700.203 & 1697.297 & 1690.221 & 1683.147 & 1681.743 & 1681.608 & 1681.597 tabularnewline
cline{2-10}
& bfseries 8 & 1701.064 & 1698.618 & 1692.169 & 1684.388 & 1682.033 & 1681.616 & 1681.598 tabularnewline
cline{2-10}
& bfseries 12 & 1701.651 & 1699.463 & 1693.457 & 1685.524 & 1682.497 & 1681.668 & 1681.605 tabularnewline
cline{2-10}
& bfseries 15 & 1702.081 & 1699.804 & 1693.958 & 1686.039 & 1682.757 & 1681.710 & 1681.608 tabularnewline
cline{2-10}
end{tabular}
}
label{table:errors}
caption{a caption.}
end{table}


Any ideas on why I'm getting an error on my table?










share|improve this question


















  • 2





    Welcome to TeX.SX! Please make your code compilable (if possible), or at least complete it with documentclass{...}, the required usepackage's, begin{document}, and end{document}. That may seem tedious to you, but think of the extra work it represents for TeX.SX users willing to give you a hand. Help them help you: remove that one hurdle between you and a solution to your problem.

    – Stefan Pinnow
    Jan 7 at 13:31






  • 1





    {c|c|*{7}{c|}} declares 9 columns but cline{2-10} uses column 10....

    – David Carlisle
    Jan 7 at 13:43











  • unrelated but label{table:errors}caption{a caption.} won't give an error message, but won't work, the label has to be after, or in, the caption.

    – David Carlisle
    Jan 7 at 13:44













  • adjustbox{max width=1textwidth}{ only scale tables as a last resort (and even then do not do it) it produces inconsistent font sizes and rule widths and a very distracting document as a result.

    – David Carlisle
    Jan 7 at 13:45











  • @DavidCarlisle Thanks! That was it!!!

    – laza
    Jan 7 at 13:46














0












0








0


0






begin{table}[ht]
centering
adjustbox{max width=1textwidth}{
small
begin{tabular}{c|c|*{7}{c|}}
multicolumn{2}{c}{} & multicolumn{7}{c}{Variance ($sigma^{2}$)} tabularnewline
cline{2-9}
multirow{8}*{rotatebox{90}{Mean ($mu$)}} &
& bfseries 0 & bfseries 2 & bfseries 6 & bfseries 10 & bfseries 14 &bfseries 18 & bfseries 20 tabularnewline
cline{2-10}
& bfseries 0 & 1682.183 & 1681.979 & 1681.759 & 1681.652 & 1681.620 & 1681.603 & 1681.595 tabularnewline
cline{2-10}
& bfseries 0.5 & 1693.820 & 1689.220 & 1682.688 & 1681.661 & 1681.622 & 1681.603 & 1681.595tabularnewline
cline{2-10}
& bfseries 2 & 1698.682 & 1695.159 & 1687.257 & 1682.034 & 1681.633 & 1681.604 & 1681.596 tabularnewline
cline{2-10}
& bfseries 5 & 1700.203 & 1697.297 & 1690.221 & 1683.147 & 1681.743 & 1681.608 & 1681.597 tabularnewline
cline{2-10}
& bfseries 8 & 1701.064 & 1698.618 & 1692.169 & 1684.388 & 1682.033 & 1681.616 & 1681.598 tabularnewline
cline{2-10}
& bfseries 12 & 1701.651 & 1699.463 & 1693.457 & 1685.524 & 1682.497 & 1681.668 & 1681.605 tabularnewline
cline{2-10}
& bfseries 15 & 1702.081 & 1699.804 & 1693.958 & 1686.039 & 1682.757 & 1681.710 & 1681.608 tabularnewline
cline{2-10}
end{tabular}
}
label{table:errors}
caption{a caption.}
end{table}


Any ideas on why I'm getting an error on my table?










share|improve this question














begin{table}[ht]
centering
adjustbox{max width=1textwidth}{
small
begin{tabular}{c|c|*{7}{c|}}
multicolumn{2}{c}{} & multicolumn{7}{c}{Variance ($sigma^{2}$)} tabularnewline
cline{2-9}
multirow{8}*{rotatebox{90}{Mean ($mu$)}} &
& bfseries 0 & bfseries 2 & bfseries 6 & bfseries 10 & bfseries 14 &bfseries 18 & bfseries 20 tabularnewline
cline{2-10}
& bfseries 0 & 1682.183 & 1681.979 & 1681.759 & 1681.652 & 1681.620 & 1681.603 & 1681.595 tabularnewline
cline{2-10}
& bfseries 0.5 & 1693.820 & 1689.220 & 1682.688 & 1681.661 & 1681.622 & 1681.603 & 1681.595tabularnewline
cline{2-10}
& bfseries 2 & 1698.682 & 1695.159 & 1687.257 & 1682.034 & 1681.633 & 1681.604 & 1681.596 tabularnewline
cline{2-10}
& bfseries 5 & 1700.203 & 1697.297 & 1690.221 & 1683.147 & 1681.743 & 1681.608 & 1681.597 tabularnewline
cline{2-10}
& bfseries 8 & 1701.064 & 1698.618 & 1692.169 & 1684.388 & 1682.033 & 1681.616 & 1681.598 tabularnewline
cline{2-10}
& bfseries 12 & 1701.651 & 1699.463 & 1693.457 & 1685.524 & 1682.497 & 1681.668 & 1681.605 tabularnewline
cline{2-10}
& bfseries 15 & 1702.081 & 1699.804 & 1693.958 & 1686.039 & 1682.757 & 1681.710 & 1681.608 tabularnewline
cline{2-10}
end{tabular}
}
label{table:errors}
caption{a caption.}
end{table}


Any ideas on why I'm getting an error on my table?







tables






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jan 7 at 13:28









lazalaza

1033




1033








  • 2





    Welcome to TeX.SX! Please make your code compilable (if possible), or at least complete it with documentclass{...}, the required usepackage's, begin{document}, and end{document}. That may seem tedious to you, but think of the extra work it represents for TeX.SX users willing to give you a hand. Help them help you: remove that one hurdle between you and a solution to your problem.

    – Stefan Pinnow
    Jan 7 at 13:31






  • 1





    {c|c|*{7}{c|}} declares 9 columns but cline{2-10} uses column 10....

    – David Carlisle
    Jan 7 at 13:43











  • unrelated but label{table:errors}caption{a caption.} won't give an error message, but won't work, the label has to be after, or in, the caption.

    – David Carlisle
    Jan 7 at 13:44













  • adjustbox{max width=1textwidth}{ only scale tables as a last resort (and even then do not do it) it produces inconsistent font sizes and rule widths and a very distracting document as a result.

    – David Carlisle
    Jan 7 at 13:45











  • @DavidCarlisle Thanks! That was it!!!

    – laza
    Jan 7 at 13:46














  • 2





    Welcome to TeX.SX! Please make your code compilable (if possible), or at least complete it with documentclass{...}, the required usepackage's, begin{document}, and end{document}. That may seem tedious to you, but think of the extra work it represents for TeX.SX users willing to give you a hand. Help them help you: remove that one hurdle between you and a solution to your problem.

    – Stefan Pinnow
    Jan 7 at 13:31






  • 1





    {c|c|*{7}{c|}} declares 9 columns but cline{2-10} uses column 10....

    – David Carlisle
    Jan 7 at 13:43











  • unrelated but label{table:errors}caption{a caption.} won't give an error message, but won't work, the label has to be after, or in, the caption.

    – David Carlisle
    Jan 7 at 13:44













  • adjustbox{max width=1textwidth}{ only scale tables as a last resort (and even then do not do it) it produces inconsistent font sizes and rule widths and a very distracting document as a result.

    – David Carlisle
    Jan 7 at 13:45











  • @DavidCarlisle Thanks! That was it!!!

    – laza
    Jan 7 at 13:46








2




2





Welcome to TeX.SX! Please make your code compilable (if possible), or at least complete it with documentclass{...}, the required usepackage's, begin{document}, and end{document}. That may seem tedious to you, but think of the extra work it represents for TeX.SX users willing to give you a hand. Help them help you: remove that one hurdle between you and a solution to your problem.

– Stefan Pinnow
Jan 7 at 13:31





Welcome to TeX.SX! Please make your code compilable (if possible), or at least complete it with documentclass{...}, the required usepackage's, begin{document}, and end{document}. That may seem tedious to you, but think of the extra work it represents for TeX.SX users willing to give you a hand. Help them help you: remove that one hurdle between you and a solution to your problem.

– Stefan Pinnow
Jan 7 at 13:31




1




1





{c|c|*{7}{c|}} declares 9 columns but cline{2-10} uses column 10....

– David Carlisle
Jan 7 at 13:43





{c|c|*{7}{c|}} declares 9 columns but cline{2-10} uses column 10....

– David Carlisle
Jan 7 at 13:43













unrelated but label{table:errors}caption{a caption.} won't give an error message, but won't work, the label has to be after, or in, the caption.

– David Carlisle
Jan 7 at 13:44







unrelated but label{table:errors}caption{a caption.} won't give an error message, but won't work, the label has to be after, or in, the caption.

– David Carlisle
Jan 7 at 13:44















adjustbox{max width=1textwidth}{ only scale tables as a last resort (and even then do not do it) it produces inconsistent font sizes and rule widths and a very distracting document as a result.

– David Carlisle
Jan 7 at 13:45





adjustbox{max width=1textwidth}{ only scale tables as a last resort (and even then do not do it) it produces inconsistent font sizes and rule widths and a very distracting document as a result.

– David Carlisle
Jan 7 at 13:45













@DavidCarlisle Thanks! That was it!!!

– laza
Jan 7 at 13:46





@DavidCarlisle Thanks! That was it!!!

– laza
Jan 7 at 13:46










1 Answer
1






active

oldest

votes


















2














{c|c|*{7}{c|}} 


declares 9 columns but



cline{2-10}


uses column 10.






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%2f468962%2fcant-locate-error-in-latex-table%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    2














    {c|c|*{7}{c|}} 


    declares 9 columns but



    cline{2-10}


    uses column 10.






    share|improve this answer




























      2














      {c|c|*{7}{c|}} 


      declares 9 columns but



      cline{2-10}


      uses column 10.






      share|improve this answer


























        2












        2








        2







        {c|c|*{7}{c|}} 


        declares 9 columns but



        cline{2-10}


        uses column 10.






        share|improve this answer













        {c|c|*{7}{c|}} 


        declares 9 columns but



        cline{2-10}


        uses column 10.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jan 7 at 13:46









        David CarlisleDavid Carlisle

        485k4111201863




        485k4111201863






























            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%2f468962%2fcant-locate-error-in-latex-table%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

            How to change which sound is reproduced for terminal bell?

            Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

            Can I use Tabulator js library in my java Spring + Thymeleaf project?