Extra alignment tab has been changed to cr. } using table, tabular and resizeboxError: extra alignment tab has been changed to crExtra alignment tab has been changed to crtable - error: Extra alignment tab has been changed to crextra alignment tab has been changed to crExtra alignment tab has been changed to cr" errorExtra alignment tab has been changed to cr? Table MulticolumnError message: Extra alignment tab has been changed to crExtra alignment tab has been changed to cr? in latexExtra alignment tab has been changed to cr. }Extra alignment tab has been changed to cr error

What are some noteworthy "mic-drop" moments in math?

What to do when during a meeting client people start to fight (even physically) with each others?

What are the best books to study Neural Networks from a purely mathematical perspective?

Am I not good enough for you?

Does "variables should live in the smallest scope as possible" include the case "variables should not exist if possible"?

Why would one plane in this picture not have gear down yet?

How do anti-virus programs start at Windows boot?

How could our ancestors have domesticated a solitary predator?

Space in array system equations

Make a transparent 448*448 image

What is wrong with Escaped Shapeshifter's original wording?

"One can do his homework in the library"

Time travel short story where dinosaur doesn't taste like chicken

Word for a person who has no opinion about whether god exists

They call me Inspector Morse

How are such low op-amp input currents possible?

Could a cubesat propel itself to Mars?

Subset counting for even numbers

infinitive telling the purpose

How do I deal with a powergamer in a game full of beginners in a school club?

How much attack damage does the AC boost from a shield prevent on average?

Rejected in 4th interview round citing insufficient years of experience

Good for you! in Russian

Making a sword in the stone, in a medieval world without magic



Extra alignment tab has been changed to cr. } using table, tabular and resizebox


Error: extra alignment tab has been changed to crExtra alignment tab has been changed to crtable - error: Extra alignment tab has been changed to crextra alignment tab has been changed to crExtra alignment tab has been changed to cr" errorExtra alignment tab has been changed to cr? Table MulticolumnError message: Extra alignment tab has been changed to crExtra alignment tab has been changed to cr? in latexExtra alignment tab has been changed to cr. }Extra alignment tab has been changed to cr error













2















I've reveiwed all the other threads on this topic and have not been able to figure it out. It must be something I'm completely missing.



I recieved the error above "Extra alignment tab has been changed to cr. }"



Here's a full reproducible code snippet



begintable[h!]
resizebox5in!
begintabular[h!]
hline
multicolumnDataset &
multicolumn3A &
multicolumn3cB &
hline


bfseries Year & bfseries parameter & bfseries gof & bfseries p-value & bfseries parameter & bfseries gof & bfseries p-value \
hline


1998 & 1.2661 & 0.4046 & 0.57 & 1.2889 & 0.3214 & 0.7 \ hline
1999 & 1.2685 & 0.4049 & 0.58 & 1.2913 & 0.3225 & 0.71 \ hline
2000 & 1.2681 & 0.4053 & 0.57 & 1.2942 & 0.321 & 0.71 \ hline
2001 & 1.2679 & 0.4082 & 0.56 & 1.2896 & 0.3208 & 0.71 \ hline
2002 & 1.2666 & 0.4098 & 0.55 & 1.2907 & 0.321 & 0.71 \ hline
2003 & 1.2673 & 0.4096 & 0.55 & 1.2849 & 0.3203 & 0.71 \ hline
2004 & 1.2678 & 0.409 & 0.57 & 1.2866 & 0.3187 & 0.72 \ hline

endtabular

caption[stuff]morestuff
labeltable:all.models
endtable


Can anyone see something I'm not seeing?



Thank you in advance!










share|improve this question
























  • The instruction multicolumnDataset generates a syntax error. Did you mean to write multicolumn1Dataset?

    – Mico
    11 hours ago











  • THANK YOU!! You're awesome!

    – Joseph
    11 hours ago






  • 1





    You might alos consider not using resizebox in order to make the table occupy a certain space as this approach will lead to inconsistent font sizes and line widths throughout your document.

    – leandriis
    11 hours ago















2















I've reveiwed all the other threads on this topic and have not been able to figure it out. It must be something I'm completely missing.



I recieved the error above "Extra alignment tab has been changed to cr. }"



Here's a full reproducible code snippet



begintable[h!]
resizebox5in!
begintabular[h!]
hline
multicolumnDataset &
multicolumn3A &
multicolumn3cB &
hline


bfseries Year & bfseries parameter & bfseries gof & bfseries p-value & bfseries parameter & bfseries gof & bfseries p-value \
hline


1998 & 1.2661 & 0.4046 & 0.57 & 1.2889 & 0.3214 & 0.7 \ hline
1999 & 1.2685 & 0.4049 & 0.58 & 1.2913 & 0.3225 & 0.71 \ hline
2000 & 1.2681 & 0.4053 & 0.57 & 1.2942 & 0.321 & 0.71 \ hline
2001 & 1.2679 & 0.4082 & 0.56 & 1.2896 & 0.3208 & 0.71 \ hline
2002 & 1.2666 & 0.4098 & 0.55 & 1.2907 & 0.321 & 0.71 \ hline
2003 & 1.2673 & 0.4096 & 0.55 & 1.2849 & 0.3203 & 0.71 \ hline
2004 & 1.2678 & 0.409 & 0.57 & 1.2866 & 0.3187 & 0.72 \ hline

endtabular

caption[stuff]morestuff
labeltable:all.models
endtable


Can anyone see something I'm not seeing?



Thank you in advance!










share|improve this question
























  • The instruction multicolumnDataset generates a syntax error. Did you mean to write multicolumn1Dataset?

    – Mico
    11 hours ago











  • THANK YOU!! You're awesome!

    – Joseph
    11 hours ago






  • 1





    You might alos consider not using resizebox in order to make the table occupy a certain space as this approach will lead to inconsistent font sizes and line widths throughout your document.

    – leandriis
    11 hours ago













2












2








2








I've reveiwed all the other threads on this topic and have not been able to figure it out. It must be something I'm completely missing.



I recieved the error above "Extra alignment tab has been changed to cr. }"



Here's a full reproducible code snippet



begintable[h!]
resizebox5in!
begintabular[h!]
hline
multicolumnDataset &
multicolumn3A &
multicolumn3cB &
hline


bfseries Year & bfseries parameter & bfseries gof & bfseries p-value & bfseries parameter & bfseries gof & bfseries p-value \
hline


1998 & 1.2661 & 0.4046 & 0.57 & 1.2889 & 0.3214 & 0.7 \ hline
1999 & 1.2685 & 0.4049 & 0.58 & 1.2913 & 0.3225 & 0.71 \ hline
2000 & 1.2681 & 0.4053 & 0.57 & 1.2942 & 0.321 & 0.71 \ hline
2001 & 1.2679 & 0.4082 & 0.56 & 1.2896 & 0.3208 & 0.71 \ hline
2002 & 1.2666 & 0.4098 & 0.55 & 1.2907 & 0.321 & 0.71 \ hline
2003 & 1.2673 & 0.4096 & 0.55 & 1.2849 & 0.3203 & 0.71 \ hline
2004 & 1.2678 & 0.409 & 0.57 & 1.2866 & 0.3187 & 0.72 \ hline

endtabular

caption[stuff]morestuff
labeltable:all.models
endtable


Can anyone see something I'm not seeing?



Thank you in advance!










share|improve this question
















I've reveiwed all the other threads on this topic and have not been able to figure it out. It must be something I'm completely missing.



I recieved the error above "Extra alignment tab has been changed to cr. }"



Here's a full reproducible code snippet



begintable[h!]
resizebox5in!
begintabular[h!]
hline
multicolumnDataset &
multicolumn3A &
multicolumn3cB &
hline


bfseries Year & bfseries parameter & bfseries gof & bfseries p-value & bfseries parameter & bfseries gof & bfseries p-value \
hline


1998 & 1.2661 & 0.4046 & 0.57 & 1.2889 & 0.3214 & 0.7 \ hline
1999 & 1.2685 & 0.4049 & 0.58 & 1.2913 & 0.3225 & 0.71 \ hline
2000 & 1.2681 & 0.4053 & 0.57 & 1.2942 & 0.321 & 0.71 \ hline
2001 & 1.2679 & 0.4082 & 0.56 & 1.2896 & 0.3208 & 0.71 \ hline
2002 & 1.2666 & 0.4098 & 0.55 & 1.2907 & 0.321 & 0.71 \ hline
2003 & 1.2673 & 0.4096 & 0.55 & 1.2849 & 0.3203 & 0.71 \ hline
2004 & 1.2678 & 0.409 & 0.57 & 1.2866 & 0.3187 & 0.72 \ hline

endtabular

caption[stuff]morestuff
labeltable:all.models
endtable


Can anyone see something I'm not seeing?



Thank you in advance!







tables






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 11 hours ago









Mico

282k31386774




282k31386774










asked 11 hours ago









JosephJoseph

587




587












  • The instruction multicolumnDataset generates a syntax error. Did you mean to write multicolumn1Dataset?

    – Mico
    11 hours ago











  • THANK YOU!! You're awesome!

    – Joseph
    11 hours ago






  • 1





    You might alos consider not using resizebox in order to make the table occupy a certain space as this approach will lead to inconsistent font sizes and line widths throughout your document.

    – leandriis
    11 hours ago

















  • The instruction multicolumnDataset generates a syntax error. Did you mean to write multicolumn1Dataset?

    – Mico
    11 hours ago











  • THANK YOU!! You're awesome!

    – Joseph
    11 hours ago






  • 1





    You might alos consider not using resizebox in order to make the table occupy a certain space as this approach will lead to inconsistent font sizes and line widths throughout your document.

    – leandriis
    11 hours ago
















The instruction multicolumnDataset generates a syntax error. Did you mean to write multicolumn1Dataset?

– Mico
11 hours ago





The instruction multicolumnDataset generates a syntax error. Did you mean to write multicolumn1Dataset?

– Mico
11 hours ago













THANK YOU!! You're awesome!

– Joseph
11 hours ago





THANK YOU!! You're awesome!

– Joseph
11 hours ago




1




1





You might alos consider not using resizebox in order to make the table occupy a certain space as this approach will lead to inconsistent font sizes and line widths throughout your document.

– leandriis
11 hours ago





You might alos consider not using resizebox in order to make the table occupy a certain space as this approach will lead to inconsistent font sizes and line widths throughout your document.

– leandriis
11 hours ago










2 Answers
2






active

oldest

votes


















4














The immediate source of the error message is the line



multicolumn3cB &


It should be



multicolumn3cB \


Two additional observations:



  • multicolumnDataset isn't correct either. It should be either multicolumn1Dataset or, much more simply, Dataset.


  • The option [h!] in begintabular[h!] is meaningless and simply ignored. Valid options are t ("top"), c ("center" -- the default), and b ("bottom").



Addendum: If this were my table, I would strive hard to give it a much more open "look", mainly by omitting all vertical lines and using fewer, but well spaced, horizontal lines. There's no need for the resizebox "sledge hammer". Use a tabular* environment instead. I would also not bold-face the header cells, and I'd give more structure to the table's header material, and I'd align the numbers in the numerical columns on their respective decimal markers.



These ideas are implemented in the second table below.



enter image description here



documentclassarticle
usepackagegraphicx

usepackagebooktabs,siunitx
begindocument
begintable[h!]
resizebox5in!%
begintabular[h!]
hline
Dataset &
multicolumn3A &
multicolumn3cB \
hline
bfseries Year & bfseries parameter &
bfseries gof & bfseries p-value &
bfseries parameter & bfseries gof &
bfseries p-value \
hline
1998 & 1.2661 & 0.4046 & 0.57 & 1.2889 & 0.3214 & 0.7 \ hline
1999 & 1.2685 & 0.4049 & 0.58 & 1.2913 & 0.3225 & 0.71 \ hline
2000 & 1.2681 & 0.4053 & 0.57 & 1.2942 & 0.321 & 0.71 \ hline
2001 & 1.2679 & 0.4082 & 0.56 & 1.2896 & 0.3208 & 0.71 \ hline
2002 & 1.2666 & 0.4098 & 0.55 & 1.2907 & 0.321 & 0.71 \ hline
2003 & 1.2673 & 0.4096 & 0.55 & 1.2849 & 0.3203 & 0.71 \ hline
2004 & 1.2678 & 0.409 & 0.57 & 1.2866 & 0.3187 & 0.72 \ hline
endtabular
% end of scope of resizebox instruction
caption[stuff]morestuff
labeltable:all.models
endtable

begintable[h!]
setlengthtabcolsep0pt
begintabular*5in@extracolsepfill l
*2*2S[table-format=1.4]S[table-format=1.2]
toprule
Year & multicolumn6cDataset \
cmidrule2-7
& multicolumn3cA & multicolumn3cB \
cmidrule2-4 cmidrule5-7
& Parameter & gof & p-value & Parameter & gof & p-value \
midrule
1998 & 1.2661 & 0.4046 & 0.57 & 1.2889 & 0.3214 & 0.7 \
1999 & 1.2685 & 0.4049 & 0.58 & 1.2913 & 0.3225 & 0.71 \
2000 & 1.2681 & 0.4053 & 0.57 & 1.2942 & 0.321 & 0.71 \
2001 & 1.2679 & 0.4082 & 0.56 & 1.2896 & 0.3208 & 0.71 \
2002 & 1.2666 & 0.4098 & 0.55 & 1.2907 & 0.321 & 0.71 \
2003 & 1.2673 & 0.4096 & 0.55 & 1.2849 & 0.3203 & 0.71 \
2004 & 1.2678 & 0.409 & 0.57 & 1.2866 & 0.3187 & 0.72 \ bottomrule
endtabular*
captionA much more ``open'' look
labeltable:another_look
endtable
enddocument





share|improve this answer
































    4














    Off-topic:



    I would design your table on the following way:



    enter image description here



    (red lines indicate text borders)



    documentclassarticle
    usepackagebooktabs, % for nicer horizontal rules (toprule, cmidrule, midrule,bottomrule)
    makecell % for column headers (thesd)
    renewcommandtheadfontbfseriessmall
    renewcommandtheadgape
    usepackagesiunitx % for S column type: numbers are aligned at decimal points

    begindocument
    begintable[h!]
    setlengthtabcolsep0pt
    begintabular*linewidth@extracolsepfill
    c
    *2S[table-format=1.4]
    S[table-format=1.2]
    *2S[table-format=1.4]
    S[table-format=1.2]

    toprule
    Dataset & multicolumn3cA & multicolumn3cB \
    cmidrule2-4cmidrule5-7
    theadYear & theadparameter & theadgof & theadp-value
    & theadparameter & theadgof & theadp-value \
    midrule
    1998 & 1.2661 & 0.4046 & 0.57 & 1.2889 & 0.3214 & 0.7 \
    1999 & 1.2685 & 0.4049 & 0.58 & 1.2913 & 0.3225 & 0.71 \
    2000 & 1.2681 & 0.4053 & 0.57 & 1.2942 & 0.321 & 0.71 \
    2001 & 1.2679 & 0.4082 & 0.56 & 1.2896 & 0.3208 & 0.71 \
    2002 & 1.2666 & 0.4098 & 0.55 & 1.2907 & 0.321 & 0.71 \
    2003 & 1.2673 & 0.4096 & 0.55 & 1.2849 & 0.3203 & 0.71 \
    2004 & 1.2678 & 0.409 & 0.57 & 1.2866 & 0.3187 & 0.72 \
    bottomrule
    endtabular*
    caption[stuff]morestuff
    labeltable:all.models
    endtable
    enddocument





    share|improve this answer























    • That looks clean! Thank you. I'll use it!

      – Joseph
      11 hours ago











    • @Joseph, I'm glad to help you. Of course, you can up-vote answer if you liked it ;-)

      – Zarko
      11 hours ago











    • Done! :) Thank you!

      – Joseph
      11 hours ago










    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%2f479154%2fextra-alignment-tab-has-been-changed-to-cr-using-table-tabular-and-resizebo%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














    The immediate source of the error message is the line



    multicolumn3cB &


    It should be



    multicolumn3cB \


    Two additional observations:



    • multicolumnDataset isn't correct either. It should be either multicolumn1Dataset or, much more simply, Dataset.


    • The option [h!] in begintabular[h!] is meaningless and simply ignored. Valid options are t ("top"), c ("center" -- the default), and b ("bottom").



    Addendum: If this were my table, I would strive hard to give it a much more open "look", mainly by omitting all vertical lines and using fewer, but well spaced, horizontal lines. There's no need for the resizebox "sledge hammer". Use a tabular* environment instead. I would also not bold-face the header cells, and I'd give more structure to the table's header material, and I'd align the numbers in the numerical columns on their respective decimal markers.



    These ideas are implemented in the second table below.



    enter image description here



    documentclassarticle
    usepackagegraphicx

    usepackagebooktabs,siunitx
    begindocument
    begintable[h!]
    resizebox5in!%
    begintabular[h!]
    hline
    Dataset &
    multicolumn3A &
    multicolumn3cB \
    hline
    bfseries Year & bfseries parameter &
    bfseries gof & bfseries p-value &
    bfseries parameter & bfseries gof &
    bfseries p-value \
    hline
    1998 & 1.2661 & 0.4046 & 0.57 & 1.2889 & 0.3214 & 0.7 \ hline
    1999 & 1.2685 & 0.4049 & 0.58 & 1.2913 & 0.3225 & 0.71 \ hline
    2000 & 1.2681 & 0.4053 & 0.57 & 1.2942 & 0.321 & 0.71 \ hline
    2001 & 1.2679 & 0.4082 & 0.56 & 1.2896 & 0.3208 & 0.71 \ hline
    2002 & 1.2666 & 0.4098 & 0.55 & 1.2907 & 0.321 & 0.71 \ hline
    2003 & 1.2673 & 0.4096 & 0.55 & 1.2849 & 0.3203 & 0.71 \ hline
    2004 & 1.2678 & 0.409 & 0.57 & 1.2866 & 0.3187 & 0.72 \ hline
    endtabular
    % end of scope of resizebox instruction
    caption[stuff]morestuff
    labeltable:all.models
    endtable

    begintable[h!]
    setlengthtabcolsep0pt
    begintabular*5in@extracolsepfill l
    *2*2S[table-format=1.4]S[table-format=1.2]
    toprule
    Year & multicolumn6cDataset \
    cmidrule2-7
    & multicolumn3cA & multicolumn3cB \
    cmidrule2-4 cmidrule5-7
    & Parameter & gof & p-value & Parameter & gof & p-value \
    midrule
    1998 & 1.2661 & 0.4046 & 0.57 & 1.2889 & 0.3214 & 0.7 \
    1999 & 1.2685 & 0.4049 & 0.58 & 1.2913 & 0.3225 & 0.71 \
    2000 & 1.2681 & 0.4053 & 0.57 & 1.2942 & 0.321 & 0.71 \
    2001 & 1.2679 & 0.4082 & 0.56 & 1.2896 & 0.3208 & 0.71 \
    2002 & 1.2666 & 0.4098 & 0.55 & 1.2907 & 0.321 & 0.71 \
    2003 & 1.2673 & 0.4096 & 0.55 & 1.2849 & 0.3203 & 0.71 \
    2004 & 1.2678 & 0.409 & 0.57 & 1.2866 & 0.3187 & 0.72 \ bottomrule
    endtabular*
    captionA much more ``open'' look
    labeltable:another_look
    endtable
    enddocument





    share|improve this answer





























      4














      The immediate source of the error message is the line



      multicolumn3cB &


      It should be



      multicolumn3cB \


      Two additional observations:



      • multicolumnDataset isn't correct either. It should be either multicolumn1Dataset or, much more simply, Dataset.


      • The option [h!] in begintabular[h!] is meaningless and simply ignored. Valid options are t ("top"), c ("center" -- the default), and b ("bottom").



      Addendum: If this were my table, I would strive hard to give it a much more open "look", mainly by omitting all vertical lines and using fewer, but well spaced, horizontal lines. There's no need for the resizebox "sledge hammer". Use a tabular* environment instead. I would also not bold-face the header cells, and I'd give more structure to the table's header material, and I'd align the numbers in the numerical columns on their respective decimal markers.



      These ideas are implemented in the second table below.



      enter image description here



      documentclassarticle
      usepackagegraphicx

      usepackagebooktabs,siunitx
      begindocument
      begintable[h!]
      resizebox5in!%
      begintabular[h!]
      hline
      Dataset &
      multicolumn3A &
      multicolumn3cB \
      hline
      bfseries Year & bfseries parameter &
      bfseries gof & bfseries p-value &
      bfseries parameter & bfseries gof &
      bfseries p-value \
      hline
      1998 & 1.2661 & 0.4046 & 0.57 & 1.2889 & 0.3214 & 0.7 \ hline
      1999 & 1.2685 & 0.4049 & 0.58 & 1.2913 & 0.3225 & 0.71 \ hline
      2000 & 1.2681 & 0.4053 & 0.57 & 1.2942 & 0.321 & 0.71 \ hline
      2001 & 1.2679 & 0.4082 & 0.56 & 1.2896 & 0.3208 & 0.71 \ hline
      2002 & 1.2666 & 0.4098 & 0.55 & 1.2907 & 0.321 & 0.71 \ hline
      2003 & 1.2673 & 0.4096 & 0.55 & 1.2849 & 0.3203 & 0.71 \ hline
      2004 & 1.2678 & 0.409 & 0.57 & 1.2866 & 0.3187 & 0.72 \ hline
      endtabular
      % end of scope of resizebox instruction
      caption[stuff]morestuff
      labeltable:all.models
      endtable

      begintable[h!]
      setlengthtabcolsep0pt
      begintabular*5in@extracolsepfill l
      *2*2S[table-format=1.4]S[table-format=1.2]
      toprule
      Year & multicolumn6cDataset \
      cmidrule2-7
      & multicolumn3cA & multicolumn3cB \
      cmidrule2-4 cmidrule5-7
      & Parameter & gof & p-value & Parameter & gof & p-value \
      midrule
      1998 & 1.2661 & 0.4046 & 0.57 & 1.2889 & 0.3214 & 0.7 \
      1999 & 1.2685 & 0.4049 & 0.58 & 1.2913 & 0.3225 & 0.71 \
      2000 & 1.2681 & 0.4053 & 0.57 & 1.2942 & 0.321 & 0.71 \
      2001 & 1.2679 & 0.4082 & 0.56 & 1.2896 & 0.3208 & 0.71 \
      2002 & 1.2666 & 0.4098 & 0.55 & 1.2907 & 0.321 & 0.71 \
      2003 & 1.2673 & 0.4096 & 0.55 & 1.2849 & 0.3203 & 0.71 \
      2004 & 1.2678 & 0.409 & 0.57 & 1.2866 & 0.3187 & 0.72 \ bottomrule
      endtabular*
      captionA much more ``open'' look
      labeltable:another_look
      endtable
      enddocument





      share|improve this answer



























        4












        4








        4







        The immediate source of the error message is the line



        multicolumn3cB &


        It should be



        multicolumn3cB \


        Two additional observations:



        • multicolumnDataset isn't correct either. It should be either multicolumn1Dataset or, much more simply, Dataset.


        • The option [h!] in begintabular[h!] is meaningless and simply ignored. Valid options are t ("top"), c ("center" -- the default), and b ("bottom").



        Addendum: If this were my table, I would strive hard to give it a much more open "look", mainly by omitting all vertical lines and using fewer, but well spaced, horizontal lines. There's no need for the resizebox "sledge hammer". Use a tabular* environment instead. I would also not bold-face the header cells, and I'd give more structure to the table's header material, and I'd align the numbers in the numerical columns on their respective decimal markers.



        These ideas are implemented in the second table below.



        enter image description here



        documentclassarticle
        usepackagegraphicx

        usepackagebooktabs,siunitx
        begindocument
        begintable[h!]
        resizebox5in!%
        begintabular[h!]
        hline
        Dataset &
        multicolumn3A &
        multicolumn3cB \
        hline
        bfseries Year & bfseries parameter &
        bfseries gof & bfseries p-value &
        bfseries parameter & bfseries gof &
        bfseries p-value \
        hline
        1998 & 1.2661 & 0.4046 & 0.57 & 1.2889 & 0.3214 & 0.7 \ hline
        1999 & 1.2685 & 0.4049 & 0.58 & 1.2913 & 0.3225 & 0.71 \ hline
        2000 & 1.2681 & 0.4053 & 0.57 & 1.2942 & 0.321 & 0.71 \ hline
        2001 & 1.2679 & 0.4082 & 0.56 & 1.2896 & 0.3208 & 0.71 \ hline
        2002 & 1.2666 & 0.4098 & 0.55 & 1.2907 & 0.321 & 0.71 \ hline
        2003 & 1.2673 & 0.4096 & 0.55 & 1.2849 & 0.3203 & 0.71 \ hline
        2004 & 1.2678 & 0.409 & 0.57 & 1.2866 & 0.3187 & 0.72 \ hline
        endtabular
        % end of scope of resizebox instruction
        caption[stuff]morestuff
        labeltable:all.models
        endtable

        begintable[h!]
        setlengthtabcolsep0pt
        begintabular*5in@extracolsepfill l
        *2*2S[table-format=1.4]S[table-format=1.2]
        toprule
        Year & multicolumn6cDataset \
        cmidrule2-7
        & multicolumn3cA & multicolumn3cB \
        cmidrule2-4 cmidrule5-7
        & Parameter & gof & p-value & Parameter & gof & p-value \
        midrule
        1998 & 1.2661 & 0.4046 & 0.57 & 1.2889 & 0.3214 & 0.7 \
        1999 & 1.2685 & 0.4049 & 0.58 & 1.2913 & 0.3225 & 0.71 \
        2000 & 1.2681 & 0.4053 & 0.57 & 1.2942 & 0.321 & 0.71 \
        2001 & 1.2679 & 0.4082 & 0.56 & 1.2896 & 0.3208 & 0.71 \
        2002 & 1.2666 & 0.4098 & 0.55 & 1.2907 & 0.321 & 0.71 \
        2003 & 1.2673 & 0.4096 & 0.55 & 1.2849 & 0.3203 & 0.71 \
        2004 & 1.2678 & 0.409 & 0.57 & 1.2866 & 0.3187 & 0.72 \ bottomrule
        endtabular*
        captionA much more ``open'' look
        labeltable:another_look
        endtable
        enddocument





        share|improve this answer















        The immediate source of the error message is the line



        multicolumn3cB &


        It should be



        multicolumn3cB \


        Two additional observations:



        • multicolumnDataset isn't correct either. It should be either multicolumn1Dataset or, much more simply, Dataset.


        • The option [h!] in begintabular[h!] is meaningless and simply ignored. Valid options are t ("top"), c ("center" -- the default), and b ("bottom").



        Addendum: If this were my table, I would strive hard to give it a much more open "look", mainly by omitting all vertical lines and using fewer, but well spaced, horizontal lines. There's no need for the resizebox "sledge hammer". Use a tabular* environment instead. I would also not bold-face the header cells, and I'd give more structure to the table's header material, and I'd align the numbers in the numerical columns on their respective decimal markers.



        These ideas are implemented in the second table below.



        enter image description here



        documentclassarticle
        usepackagegraphicx

        usepackagebooktabs,siunitx
        begindocument
        begintable[h!]
        resizebox5in!%
        begintabular[h!]
        hline
        Dataset &
        multicolumn3A &
        multicolumn3cB \
        hline
        bfseries Year & bfseries parameter &
        bfseries gof & bfseries p-value &
        bfseries parameter & bfseries gof &
        bfseries p-value \
        hline
        1998 & 1.2661 & 0.4046 & 0.57 & 1.2889 & 0.3214 & 0.7 \ hline
        1999 & 1.2685 & 0.4049 & 0.58 & 1.2913 & 0.3225 & 0.71 \ hline
        2000 & 1.2681 & 0.4053 & 0.57 & 1.2942 & 0.321 & 0.71 \ hline
        2001 & 1.2679 & 0.4082 & 0.56 & 1.2896 & 0.3208 & 0.71 \ hline
        2002 & 1.2666 & 0.4098 & 0.55 & 1.2907 & 0.321 & 0.71 \ hline
        2003 & 1.2673 & 0.4096 & 0.55 & 1.2849 & 0.3203 & 0.71 \ hline
        2004 & 1.2678 & 0.409 & 0.57 & 1.2866 & 0.3187 & 0.72 \ hline
        endtabular
        % end of scope of resizebox instruction
        caption[stuff]morestuff
        labeltable:all.models
        endtable

        begintable[h!]
        setlengthtabcolsep0pt
        begintabular*5in@extracolsepfill l
        *2*2S[table-format=1.4]S[table-format=1.2]
        toprule
        Year & multicolumn6cDataset \
        cmidrule2-7
        & multicolumn3cA & multicolumn3cB \
        cmidrule2-4 cmidrule5-7
        & Parameter & gof & p-value & Parameter & gof & p-value \
        midrule
        1998 & 1.2661 & 0.4046 & 0.57 & 1.2889 & 0.3214 & 0.7 \
        1999 & 1.2685 & 0.4049 & 0.58 & 1.2913 & 0.3225 & 0.71 \
        2000 & 1.2681 & 0.4053 & 0.57 & 1.2942 & 0.321 & 0.71 \
        2001 & 1.2679 & 0.4082 & 0.56 & 1.2896 & 0.3208 & 0.71 \
        2002 & 1.2666 & 0.4098 & 0.55 & 1.2907 & 0.321 & 0.71 \
        2003 & 1.2673 & 0.4096 & 0.55 & 1.2849 & 0.3203 & 0.71 \
        2004 & 1.2678 & 0.409 & 0.57 & 1.2866 & 0.3187 & 0.72 \ bottomrule
        endtabular*
        captionA much more ``open'' look
        labeltable:another_look
        endtable
        enddocument






        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited 11 hours ago

























        answered 11 hours ago









        MicoMico

        282k31386774




        282k31386774





















            4














            Off-topic:



            I would design your table on the following way:



            enter image description here



            (red lines indicate text borders)



            documentclassarticle
            usepackagebooktabs, % for nicer horizontal rules (toprule, cmidrule, midrule,bottomrule)
            makecell % for column headers (thesd)
            renewcommandtheadfontbfseriessmall
            renewcommandtheadgape
            usepackagesiunitx % for S column type: numbers are aligned at decimal points

            begindocument
            begintable[h!]
            setlengthtabcolsep0pt
            begintabular*linewidth@extracolsepfill
            c
            *2S[table-format=1.4]
            S[table-format=1.2]
            *2S[table-format=1.4]
            S[table-format=1.2]

            toprule
            Dataset & multicolumn3cA & multicolumn3cB \
            cmidrule2-4cmidrule5-7
            theadYear & theadparameter & theadgof & theadp-value
            & theadparameter & theadgof & theadp-value \
            midrule
            1998 & 1.2661 & 0.4046 & 0.57 & 1.2889 & 0.3214 & 0.7 \
            1999 & 1.2685 & 0.4049 & 0.58 & 1.2913 & 0.3225 & 0.71 \
            2000 & 1.2681 & 0.4053 & 0.57 & 1.2942 & 0.321 & 0.71 \
            2001 & 1.2679 & 0.4082 & 0.56 & 1.2896 & 0.3208 & 0.71 \
            2002 & 1.2666 & 0.4098 & 0.55 & 1.2907 & 0.321 & 0.71 \
            2003 & 1.2673 & 0.4096 & 0.55 & 1.2849 & 0.3203 & 0.71 \
            2004 & 1.2678 & 0.409 & 0.57 & 1.2866 & 0.3187 & 0.72 \
            bottomrule
            endtabular*
            caption[stuff]morestuff
            labeltable:all.models
            endtable
            enddocument





            share|improve this answer























            • That looks clean! Thank you. I'll use it!

              – Joseph
              11 hours ago











            • @Joseph, I'm glad to help you. Of course, you can up-vote answer if you liked it ;-)

              – Zarko
              11 hours ago











            • Done! :) Thank you!

              – Joseph
              11 hours ago















            4














            Off-topic:



            I would design your table on the following way:



            enter image description here



            (red lines indicate text borders)



            documentclassarticle
            usepackagebooktabs, % for nicer horizontal rules (toprule, cmidrule, midrule,bottomrule)
            makecell % for column headers (thesd)
            renewcommandtheadfontbfseriessmall
            renewcommandtheadgape
            usepackagesiunitx % for S column type: numbers are aligned at decimal points

            begindocument
            begintable[h!]
            setlengthtabcolsep0pt
            begintabular*linewidth@extracolsepfill
            c
            *2S[table-format=1.4]
            S[table-format=1.2]
            *2S[table-format=1.4]
            S[table-format=1.2]

            toprule
            Dataset & multicolumn3cA & multicolumn3cB \
            cmidrule2-4cmidrule5-7
            theadYear & theadparameter & theadgof & theadp-value
            & theadparameter & theadgof & theadp-value \
            midrule
            1998 & 1.2661 & 0.4046 & 0.57 & 1.2889 & 0.3214 & 0.7 \
            1999 & 1.2685 & 0.4049 & 0.58 & 1.2913 & 0.3225 & 0.71 \
            2000 & 1.2681 & 0.4053 & 0.57 & 1.2942 & 0.321 & 0.71 \
            2001 & 1.2679 & 0.4082 & 0.56 & 1.2896 & 0.3208 & 0.71 \
            2002 & 1.2666 & 0.4098 & 0.55 & 1.2907 & 0.321 & 0.71 \
            2003 & 1.2673 & 0.4096 & 0.55 & 1.2849 & 0.3203 & 0.71 \
            2004 & 1.2678 & 0.409 & 0.57 & 1.2866 & 0.3187 & 0.72 \
            bottomrule
            endtabular*
            caption[stuff]morestuff
            labeltable:all.models
            endtable
            enddocument





            share|improve this answer























            • That looks clean! Thank you. I'll use it!

              – Joseph
              11 hours ago











            • @Joseph, I'm glad to help you. Of course, you can up-vote answer if you liked it ;-)

              – Zarko
              11 hours ago











            • Done! :) Thank you!

              – Joseph
              11 hours ago













            4












            4








            4







            Off-topic:



            I would design your table on the following way:



            enter image description here



            (red lines indicate text borders)



            documentclassarticle
            usepackagebooktabs, % for nicer horizontal rules (toprule, cmidrule, midrule,bottomrule)
            makecell % for column headers (thesd)
            renewcommandtheadfontbfseriessmall
            renewcommandtheadgape
            usepackagesiunitx % for S column type: numbers are aligned at decimal points

            begindocument
            begintable[h!]
            setlengthtabcolsep0pt
            begintabular*linewidth@extracolsepfill
            c
            *2S[table-format=1.4]
            S[table-format=1.2]
            *2S[table-format=1.4]
            S[table-format=1.2]

            toprule
            Dataset & multicolumn3cA & multicolumn3cB \
            cmidrule2-4cmidrule5-7
            theadYear & theadparameter & theadgof & theadp-value
            & theadparameter & theadgof & theadp-value \
            midrule
            1998 & 1.2661 & 0.4046 & 0.57 & 1.2889 & 0.3214 & 0.7 \
            1999 & 1.2685 & 0.4049 & 0.58 & 1.2913 & 0.3225 & 0.71 \
            2000 & 1.2681 & 0.4053 & 0.57 & 1.2942 & 0.321 & 0.71 \
            2001 & 1.2679 & 0.4082 & 0.56 & 1.2896 & 0.3208 & 0.71 \
            2002 & 1.2666 & 0.4098 & 0.55 & 1.2907 & 0.321 & 0.71 \
            2003 & 1.2673 & 0.4096 & 0.55 & 1.2849 & 0.3203 & 0.71 \
            2004 & 1.2678 & 0.409 & 0.57 & 1.2866 & 0.3187 & 0.72 \
            bottomrule
            endtabular*
            caption[stuff]morestuff
            labeltable:all.models
            endtable
            enddocument





            share|improve this answer













            Off-topic:



            I would design your table on the following way:



            enter image description here



            (red lines indicate text borders)



            documentclassarticle
            usepackagebooktabs, % for nicer horizontal rules (toprule, cmidrule, midrule,bottomrule)
            makecell % for column headers (thesd)
            renewcommandtheadfontbfseriessmall
            renewcommandtheadgape
            usepackagesiunitx % for S column type: numbers are aligned at decimal points

            begindocument
            begintable[h!]
            setlengthtabcolsep0pt
            begintabular*linewidth@extracolsepfill
            c
            *2S[table-format=1.4]
            S[table-format=1.2]
            *2S[table-format=1.4]
            S[table-format=1.2]

            toprule
            Dataset & multicolumn3cA & multicolumn3cB \
            cmidrule2-4cmidrule5-7
            theadYear & theadparameter & theadgof & theadp-value
            & theadparameter & theadgof & theadp-value \
            midrule
            1998 & 1.2661 & 0.4046 & 0.57 & 1.2889 & 0.3214 & 0.7 \
            1999 & 1.2685 & 0.4049 & 0.58 & 1.2913 & 0.3225 & 0.71 \
            2000 & 1.2681 & 0.4053 & 0.57 & 1.2942 & 0.321 & 0.71 \
            2001 & 1.2679 & 0.4082 & 0.56 & 1.2896 & 0.3208 & 0.71 \
            2002 & 1.2666 & 0.4098 & 0.55 & 1.2907 & 0.321 & 0.71 \
            2003 & 1.2673 & 0.4096 & 0.55 & 1.2849 & 0.3203 & 0.71 \
            2004 & 1.2678 & 0.409 & 0.57 & 1.2866 & 0.3187 & 0.72 \
            bottomrule
            endtabular*
            caption[stuff]morestuff
            labeltable:all.models
            endtable
            enddocument






            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered 11 hours ago









            ZarkoZarko

            127k868166




            127k868166












            • That looks clean! Thank you. I'll use it!

              – Joseph
              11 hours ago











            • @Joseph, I'm glad to help you. Of course, you can up-vote answer if you liked it ;-)

              – Zarko
              11 hours ago











            • Done! :) Thank you!

              – Joseph
              11 hours ago

















            • That looks clean! Thank you. I'll use it!

              – Joseph
              11 hours ago











            • @Joseph, I'm glad to help you. Of course, you can up-vote answer if you liked it ;-)

              – Zarko
              11 hours ago











            • Done! :) Thank you!

              – Joseph
              11 hours ago
















            That looks clean! Thank you. I'll use it!

            – Joseph
            11 hours ago





            That looks clean! Thank you. I'll use it!

            – Joseph
            11 hours ago













            @Joseph, I'm glad to help you. Of course, you can up-vote answer if you liked it ;-)

            – Zarko
            11 hours ago





            @Joseph, I'm glad to help you. Of course, you can up-vote answer if you liked it ;-)

            – Zarko
            11 hours ago













            Done! :) Thank you!

            – Joseph
            11 hours ago





            Done! :) Thank you!

            – Joseph
            11 hours ago

















            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%2f479154%2fextra-alignment-tab-has-been-changed-to-cr-using-table-tabular-and-resizebo%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

            Magento 2 duplicate PHPSESSID cookie when using session_start() in custom php scriptMagento 2: User cant logged in into to account page, no error showing!Magento duplicate on subdomainGrabbing storeview from cookie (after using language selector)How do I run php custom script on magento2Magento 2: Include PHP script in headerSession lock after using Cm_RedisSessionscript php to update stockMagento set cookie popupMagento 2 session id cookie - where to find it?How to import Configurable product from csv with custom attributes using php scriptMagento 2 run custom PHP script

            Can not update quote_id field of “quote_item” table magento 2Magento 2.1 - We can't remove the item. (Shopping Cart doesnt allow us to remove items before becomes empty)Add value for custom quote item attribute using REST apiREST API endpoint v1/carts/cartId/items always returns error messageCorrect way to save entries to databaseHow to remove all associated quote objects of a customer completelyMagento 2 - Save value from custom input field to quote_itemGet quote_item data using quote id and product id filter in Magento 2How to set additional data to quote_item table from controller in Magento 2?What is the purpose of additional_data column in quote_item table in magento2Set Custom Price to Quote item magento2 from controller

            How to solve knockout JS error in Magento 2 Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?(Magento2) knockout.js:3012 Uncaught ReferenceError: Unable to process bindingUnable to process binding Knockout.js magento 2Cannot read property `scopeLabel` of undefined on Product Detail PageCan't get Customer Data on frontend in Magento 2Magento2 Order Summary - unable to process bindingKO templates are not loading in Magento 2.1 applicationgetting knockout js error magento 2Product grid not load -— Unable to process binding Knockout.js magento 2Product form not loaded in magento2Uncaught ReferenceError: Unable to process binding “if: function()return (isShowLegend()) ” magento 2