Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Merge cells in org-mode tables

Is it possible to merge cells in Org-mode tables?

Examples of horizontal merging would be something like that:

| Header | Merged header | |--------+-------+-------| | Text1  | Text2 | Text3 | | Text4  | Text5 | Text6 | 

Example of vertical merging:

| Header1 | Header2 | Header3 | |---------+---------+---------| | Merged  | Text1   | Text2   | | text    |---------+---------| | here    | Text3   | Text4   | 

If that is somehow possible in org-mode? If not, what is the most idiomatic way to simulate merged cells?

like image 965
Mirzhan Irkegulov Avatar asked May 16 '12 10:05

Mirzhan Irkegulov


1 Answers

It is not possible with org-mode tables. However, have a look at table.el package (included with emacs for some time so try: C-h d table). Org-mode has some support for tables from this library, e.g. when exporting, but don't expect full compatibility.

As for simulating merged cell, it depends on what you want. Inlining text strings in the same cell might be enough for computation/publication, but not for visualisation.

like image 199
bzg Avatar answered Sep 20 '22 01:09

bzg