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 to do when during a meeting client people start to fight (even physically) with each others?

Why is this plane circling around the Lucknow airport every day?

String reversal in Python

Can't find the Shader/UVs tab

Grey hair or white hair

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

2×2×2 rubik's cube corner is twisted!

Placing subfig vertically

Do Bugbears' arms literally get longer when it's their turn?

What do you call the air that rushes into your car in the highway?

What wound would be of little consequence to a biped but terrible for a quadruped?

Can someone explain what is being said here in color publishing in the American Mathematical Monthly?

Virginia employer terminated employee and wants signing bonus returned

Finding algorithms of QGIS commands?

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

How could our ancestors have domesticated a solitary predator?

How to create a hard link to an inode (ext4)?

Do I really need to have a scientific explanation for my premise?

"One can do his homework in the library"

Low budget alien movie about the Earth being cooked

Aliens englobed the Solar System: will we notice?

Subset counting for even numbers

Is "history" a male-biased word ("his+story")?

Peter's Strange Word



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
multicolumncDataset &
multicolumn3cA &
multicolumn3B &
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 multicolumncDataset generates a syntax error. Did you mean to write multicolumn1cDataset?

    – Mico
    9 hours ago











  • THANK YOU!! You're awesome!

    – Joseph
    9 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
    9 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
multicolumncDataset &
multicolumn3cA &
multicolumn3B &
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 multicolumncDataset generates a syntax error. Did you mean to write multicolumn1cDataset?

    – Mico
    9 hours ago











  • THANK YOU!! You're awesome!

    – Joseph
    9 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
    9 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
multicolumncDataset &
multicolumn3cA &
multicolumn3B &
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
multicolumncDataset &
multicolumn3cA &
multicolumn3B &
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 9 hours ago









Mico

282k31386774




282k31386774










asked 9 hours ago









JosephJoseph

587




587












  • The instruction multicolumncDataset generates a syntax error. Did you mean to write multicolumn1cDataset?

    – Mico
    9 hours ago











  • THANK YOU!! You're awesome!

    – Joseph
    9 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
    9 hours ago

















  • The instruction multicolumncDataset generates a syntax error. Did you mean to write multicolumn1cDataset?

    – Mico
    9 hours ago











  • THANK YOU!! You're awesome!

    – Joseph
    9 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
    9 hours ago
















The instruction multicolumncDataset generates a syntax error. Did you mean to write multicolumn1cDataset?

– Mico
9 hours ago





The instruction multicolumncDataset generates a syntax error. Did you mean to write multicolumn1cDataset?

– Mico
9 hours ago













THANK YOU!! You're awesome!

– Joseph
9 hours ago





THANK YOU!! You're awesome!

– Joseph
9 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
9 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
9 hours ago










2 Answers
2






active

oldest

votes


















4














The immediate source of the error message is the line



multicolumn3B &


It should be



multicolumn3B \


Two additional observations:



  • multicolumncDataset isn't correct either. It should be either multicolumn1cDataset 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!]c
hline
Dataset &
multicolumn3A &
multicolumn3B \
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
      9 hours ago











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

      – Zarko
      9 hours ago











    • Done! :) Thank you!

      – Joseph
      9 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



    multicolumn3B &


    It should be



    multicolumn3B \


    Two additional observations:



    • multicolumncDataset isn't correct either. It should be either multicolumn1cDataset 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!]c
    hline
    Dataset &
    multicolumn3A &
    multicolumn3B \
    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



      multicolumn3B &


      It should be



      multicolumn3B \


      Two additional observations:



      • multicolumncDataset isn't correct either. It should be either multicolumn1cDataset 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!]c
      hline
      Dataset &
      multicolumn3A &
      multicolumn3B \
      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



        multicolumn3B &


        It should be



        multicolumn3B \


        Two additional observations:



        • multicolumncDataset isn't correct either. It should be either multicolumn1cDataset 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!]c
        hline
        Dataset &
        multicolumn3A &
        multicolumn3B \
        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



        multicolumn3B &


        It should be



        multicolumn3B \


        Two additional observations:



        • multicolumncDataset isn't correct either. It should be either multicolumn1cDataset 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!]c
        hline
        Dataset &
        multicolumn3A &
        multicolumn3B \
        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 9 hours ago

























        answered 9 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
              9 hours ago











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

              – Zarko
              9 hours ago











            • Done! :) Thank you!

              – Joseph
              9 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
              9 hours ago











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

              – Zarko
              9 hours ago











            • Done! :) Thank you!

              – Joseph
              9 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 9 hours ago









            ZarkoZarko

            127k868166




            127k868166












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

              – Joseph
              9 hours ago











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

              – Zarko
              9 hours ago











            • Done! :) Thank you!

              – Joseph
              9 hours ago

















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

              – Joseph
              9 hours ago











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

              – Zarko
              9 hours ago











            • Done! :) Thank you!

              – Joseph
              9 hours ago
















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

            – Joseph
            9 hours ago





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

            – Joseph
            9 hours ago













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

            – Zarko
            9 hours ago





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

            – Zarko
            9 hours ago













            Done! :) Thank you!

            – Joseph
            9 hours ago





            Done! :) Thank you!

            – Joseph
            9 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

            Era Viking Índice Início da Era Viquingue | Cotidiano | Sociedade | Língua | Religião | A arte | As primeiras cidades | As viagens dos viquingues | Viquingues do Oeste e Leste | Fim da Era Viquingue | Fontes históricas | Referências Bibliografia | Ligações externas | Menu de navegação«Sverige då!»«Handel I vikingetid»«O que é Nórdico Antigo»Mito, magia e religião na volsunga saga Um olhar sobre a trajetória mítica do herói sigurd«Bonden var den verklige vikingen»«Vikingatiden»«Vikingatiden»«Vinland»«Guerreiras de Óðinn: As Valkyrjor na Mitologia Viking»1519-9053«Esculpindo símbolos e seres: A arte viking em pedras rúnicas»1679-9313Historia - Tema: VikingarnaAventura e Magia no Mundo das Sagas IslandesasEra Vikinge

            What's the metal clinking sound at the end of credits in Avengers: Endgame?What makes Thanos so strong in Avengers: Endgame?Who is the character that appears at the end of Endgame?What happens to Mjolnir (Thor's hammer) at the end of Endgame?The People's Ages in Avengers: EndgameWhat did Nebula do in Avengers: Endgame?Messing with time in the Avengers: Endgame climaxAvengers: Endgame timelineWhat are the time-travel rules in Avengers Endgame?Why use this song in Avengers: Endgame Opening Logo Sequence?Peggy's age in Avengers Endgame

            Mortes em março de 2019 Referências Menu de navegação«Zhores Alferov, Nobel de Física bielorrusso, morre aos 88 anos - Ciência»«Fallece Rafael Torija, o bispo emérito de Ciudad Real»«Peter Hurford dies at 88»«Keith Flint, vocalista do The Prodigy, morre aos 49 anos»«Luke Perry, ator de 'Barrados no baile' e 'Riverdale', morre aos 52 anos»«Former Rangers and Scotland captain Eric Caldow dies, aged 84»«Morreu, aos 61 anos, a antiga lenda do wrestling King Kong Bundy»«Fallece el actor y director teatral Abraham Stavans»«In Memoriam Guillaume Faye»«Sidney Sheinberg, a Force Behind Universal and Spielberg, Is Dead at 84»«Carmine Persico, Colombo Crime Family Boss, Is Dead at 85»«Dirigent Michael Gielen gestorben»«Ciclista tricampeã mundial e prata na Rio 2016 é encontrada morta em casa aos 23 anos»«Pagan Community Notes: Raven Grimassi dies, Indianapolis pop-up event cancelled, Circle Sanctuary announces new podcast, and more!»«Hal Blaine, Wrecking Crew Drummer, Dies at 90»«Morre Coutinho, que editou dupla lendária com Pelé no Santos»«Cantor Demétrius, ídolo da Jovem Guarda, morre em SP»«Ex-presidente do Vasco, Eurico Miranda morre no Rio de Janeiro»«Bronze no Mundial de basquete de 1971, Laís Elena morre aos 76 anos»«Diretor de Corridas da F1, Charlie Whiting morre aos 66 anos às vésperas do GP da Austrália»«Morreu o cardeal Danneels, da Bélgica»«Morreu o cartoonista Augusto Cid»«Morreu a atriz Maria Isabel de Lizandra, de "Vale Tudo" e novelas da Tupi»«WS Merwin, prize-winning poet of nature, dies at 91»«Atriz Márcia Real morre em São Paulo aos 88 anos»«Mauritanie: décès de l'ancien président Mohamed Mahmoud ould Louly»«Morreu Dick Dale, o rei da surf guitar e de "Pulp Fiction"»«Falleció Víctor Genes»«João Carlos Marinho, autor de 'O Gênio do Crime', morre em SP»«Legendary Horror Director and SFX Artist John Carl Buechler Dies at 66»«Morre em Salvador a religiosa Makota Valdina»«مرگ بازیکن‌ سابق نساجی بر اثر سقوط سنگ در مازندران»«Domingos Oliveira morre no Rio»«Morre Airton Ravagniani, ex-São Paulo, Fla, Vasco, Grêmio e Sport - Notícias»«Morre o escritor Flavio Moreira da Costa»«Larry Cohen, Writer-Director of 'It's Alive' and 'Hell Up in Harlem,' Dies at 77»«Scott Walker, experimental singer-songwriter, dead at 76»«Joseph Pilato, Day of the Dead Star and Horror Favorite, Dies at 70»«Sheffield United set to pay tribute to legendary goalkeeper Ted Burgin who has died at 91»«Morre Rafael Henzel, sobrevivente de acidente aéreo da Chapecoense»«Morre Valery Bykovsky, um dos primeiros cosmonautas da União Soviética»«Agnès Varda, cineasta da Nouvelle Vague, morre aos 90 anos»«Agnès Varda, cineasta francesa, morre aos 90 anos»«Tania Mallet, James Bond Actress and Helen Mirren's Cousin, Dies at 77»e