How To Merge Cells In Latex

I have actually this table, but wanted to format the initially row. I like to complement the 2 columns of first row, and also last 2 columns of the same initially row. Any pointer on how to carry out that?

egintable captionComparikid of percenteras.egintabularlclclclclchlinehline Setting & Var & Cum\hline & EF & CHF & EF2 & CHF2\1 & 17.5 & 19.1 & 17.5 & 19.1\2 & 11.8 & 12.7 & 29.3 & 31.9\3 & 6.6 & 5.6 & 35.9 & 37.4\hlineendtabularendtable

You watching: How to merge cells in latex

*

*

This deserve to be done using multicolumn:

multicolumnAs an example, with some improvements utilizing booktabs:

documentclassarticleusepackagearrayusepackagebooktabssetlengthheavyrulewidth1.5ptsetlengthabovetopsep4ptegindocumentegintablecenteringcaptionComparison of percentages.egintabular*5c opruleMode & multicolumn2cVar & multicolumn2cCum\midrule & EF & CHF & EF2 & CHF2\1 & 17.5 & 19.1 & 17.5 & 19.1\2 & 11.8 & 12.7 & 29.3 & 31.9\3 & 6.6 & 5.6 & 35.9 & 37.4\ottomruleendtabularendtableenddocument

*


*

*

See more: All Words With Z As The Third Letter Is Z, Words Whose Third Letter Is Z

Thanks for contributing an answer to sibbap.org - Lasibbap.org Stack Exchange!

Please be certain to answer the question. Provide details and also share your research!

But avoid

Asking for help, clarification, or responding to other answers.Making statements based on opinion; earlier them up with references or individual experience.

To learn even more, see our tips on writing good answers.


Blog post Your Answer Discard

By clicking “Blog post Your Answer”, you agree to our terms of company, privacy plan and also cookie policy


Not the answer you're looking for? Browse other inquiries tagged tables or ask your own question.


*

site design / logo © 2021 Stack Exreadjust Inc; user contributions licensed under cc by-sa. rev2021.8.18.40012


Your privacy

By clicking “Accept all cookies”, you agree Stack Exchange have the right to store cookies on your gadget and also discshed information in accordance via our Cookie Policy.