This might be a proper question for community wiki.
How can various text processor (like Word or Writer) table capabilities be achieved using LaTeX? For example, can I achieve:
- multicolumns and multirows (yes, with
multirow
package) - merge cells operation spanning multiple rows and columns, respecting borders. Illustrated with figure below:
- equal column distribution (yes, with appropriate column types and manually inputting column widths, or
tabularx
package) - equal rows distribution (?)
- changing text direction (yes, does not depend on table enviroment?)
- cell/row shading (yes, with
colorx
package) - using borders and lines
- setting borders of each cell individually (?)
- aligning cell contents inside a cell in all 9 directions (vertical, horizontal and centering)
- etc.
Best Answer
Merge cells operation spanning multiple rows and columns, respecting borders.
Can be done using a
\multirow
(multirow
package) inside a\multicolumn
. The borders are drawn using\hline
or\cline
.Code
Result