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

Is (0,1] a closed or open set?

Find the Primitive Roots Mod 31

What is Cash Advance APR?

Aragorn's "guise" in the Orthanc Stone

Biological Blimps: Propulsion

Pre-mixing cryogenic fuels and using only one fuel tank

Yosemite Fire Rings - What to Expect?

Infinite dials to reset ever?

Fear of getting stuck on one programming language / technology that is not used in my country

Not using 's' for he/she/it

Is this toilet slogan correct usage of the English language?

How should I respond when I lied about my education and the company finds out through background check?

What changes for testers when they are testing in agile environments?

copy and scale one figure (wheel)

Explaining alternative travel routes when going to the USA

Fantasy book from my childhood: female protagonist, Blood Ore or Blood Metal for taking attributes

The screen of my macbook suddenly broken down how can I do to recover

How does the math work for Perception checks?

Does the Location of Line-Dash-Wedge Notations Matter?

Can I sign legal documents with a smiley face?

Redundant comparison & "if" before assignment

Loading commands from file

What should you do when eye contact makes your subordinate uncomfortable?

Freedom of speech and where it applies



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!]c
hline
multicolumncDataset &
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

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
    Mar 12 at 18:58











  • THANK YOU!! You're awesome!

    – Joseph
    Mar 12 at 19:11






  • 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
    Mar 12 at 19:15















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!]c
hline
multicolumncDataset &
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

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
    Mar 12 at 18:58











  • THANK YOU!! You're awesome!

    – Joseph
    Mar 12 at 19:11






  • 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
    Mar 12 at 19:15













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!]c
hline
multicolumncDataset &
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

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!]c
hline
multicolumncDataset &
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

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 Mar 12 at 19:09









Mico

284k31388778




284k31388778










asked Mar 12 at 18:54









JosephJoseph

587




587












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

    – Mico
    Mar 12 at 18:58











  • THANK YOU!! You're awesome!

    – Joseph
    Mar 12 at 19:11






  • 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
    Mar 12 at 19:15

















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

    – Mico
    Mar 12 at 18:58











  • THANK YOU!! You're awesome!

    – Joseph
    Mar 12 at 19:11






  • 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
    Mar 12 at 19:15
















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

– Mico
Mar 12 at 18:58





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

– Mico
Mar 12 at 18:58













THANK YOU!! You're awesome!

– Joseph
Mar 12 at 19:11





THANK YOU!! You're awesome!

– Joseph
Mar 12 at 19:11




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
Mar 12 at 19:15





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
Mar 12 at 19:15










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!]
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
      Mar 12 at 19:27











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

      – Zarko
      Mar 12 at 19:35











    • Done! :) Thank you!

      – Joseph
      Mar 12 at 19:41










    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!]
    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!]
      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!]
        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!]
        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 Mar 12 at 19:35

























        answered Mar 12 at 19:04









        MicoMico

        284k31388778




        284k31388778





















            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
              Mar 12 at 19:27











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

              – Zarko
              Mar 12 at 19:35











            • Done! :) Thank you!

              – Joseph
              Mar 12 at 19:41















            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
              Mar 12 at 19:27











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

              – Zarko
              Mar 12 at 19:35











            • Done! :) Thank you!

              – Joseph
              Mar 12 at 19:41













            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 Mar 12 at 19:19









            ZarkoZarko

            127k868167




            127k868167












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

              – Joseph
              Mar 12 at 19:27











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

              – Zarko
              Mar 12 at 19:35











            • Done! :) Thank you!

              – Joseph
              Mar 12 at 19:41

















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

              – Joseph
              Mar 12 at 19:27











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

              – Zarko
              Mar 12 at 19:35











            • Done! :) Thank you!

              – Joseph
              Mar 12 at 19:41
















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

            – Joseph
            Mar 12 at 19:27





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

            – Joseph
            Mar 12 at 19:27













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

            – Zarko
            Mar 12 at 19:35





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

            – Zarko
            Mar 12 at 19:35













            Done! :) Thank you!

            – Joseph
            Mar 12 at 19:41





            Done! :) Thank you!

            – Joseph
            Mar 12 at 19:41

















            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







            -tables

            Popular posts from this blog

            Mobil Contents History Mobil brands Former Mobil brands Lukoil transaction Mobil UK Mobil Australia Mobil New Zealand Mobil Greece Mobil in Japan Mobil in Canada Mobil Egypt See also References External links Navigation menuwww.mobil.com"Mobil Corporation"the original"Our Houston campus""Business & Finance: Socony-Vacuum Corp.""Popular Mechanics""Lubrite Technologies""Exxon Mobil campus 'clearly happening'""Toledo Blade - Google News Archive Search""The Lion and the Moose - How 2 Executives Pulled off the Biggest Merger Ever""ExxonMobil Press Release""Lubricants""Archived copy"the original"Mobil 1™ and Mobil Super™ motor oil and synthetic motor oil - Mobil™ Motor Oils""Mobil Delvac""Mobil Industrial website""The State of Competition in Gasoline Marketing: The Effects of Refiner Operations at Retail""Mobil Travel Guide to become Forbes Travel Guide""Hotel Rankings: Forbes Merges with Mobil"the original"Jamieson oil industry history""Mobil news""Caltex pumps for control""Watchdog blocks Caltex bid""Exxon Mobil sells service station network""Mobil Oil New Zealand Limited is New Zealand's oldest oil company, with predecessor companies having first established a presence in the country in 1896""ExxonMobil subsidiaries have a business history in New Zealand stretching back more than 120 years. We are involved in petroleum refining and distribution and the marketing of fuels, lubricants and chemical products""Archived copy"the original"Exxon Mobil to Sell Its Japanese Arm for $3.9 Billion""Gas station merger will end Esso and Mobil's long run in Japan""Esso moves to affiliate itself with PC Optimum, no longer Aeroplan, in loyalty point switch""Mobil brand of gas stations to launch in Canada after deal for 213 Loblaws-owned locations""Mobil Nears Completion of Rebranding 200 Loblaw Gas Stations""Learn about ExxonMobil's operations in Egypt""Petrol and Diesel Service Stations in Egypt - Mobil"Official websiteExxon Mobil corporate websiteMobil Industrial official websiteeeeeeeeDA04275022275790-40000 0001 0860 5061n82045453134887257134887257

            Frič See also Navigation menuinternal link

            Identify plant with long narrow paired leaves and reddish stems Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?What is this plant with long sharp leaves? Is it a weed?What is this 3ft high, stalky plant, with mid sized narrow leaves?What is this young shrub with opposite ovate, crenate leaves and reddish stems?What is this plant with large broad serrated leaves?Identify this upright branching weed with long leaves and reddish stemsPlease help me identify this bulbous plant with long, broad leaves and white flowersWhat is this small annual with narrow gray/green leaves and rust colored daisy-type flowers?What is this chilli plant?Does anyone know what type of chilli plant this is?Help identify this plant