Arik Mitschang <arik.mitsch...@gmail.com> writes: > When exporting a file to latex, the alignment of tables within that file > specified via the in-table <l>,<c> or <r> fields are not honoured. For > example: > > |-------------+----------+----------+----------+----------| > |-------------+----------+----------+----------+----------| > | long header | header a | header b | header c | header d | > |-------------+----------+----------+----------+----------| > | <l> | <l> | <r> | <r> | <r> | > | 1 | 2 | 3 | 4 | 5 | > | 6 | 7 | 8 | 9 | 10 | > | / | > | | | | > > > should have the first two columns left-aligned and the last three right > aligned. The vertical line in the table above is present. This also is > the case when forcing a table environment via #+CAPTION. The table above > generates the tabular command: > > \begin{tabular}{rr|rrr} > > Where it should generate: > > \begin{tabular}{ll|rrr}
You can specify the alignment for latex export directly if you put this line before the table itself: #+attr_latex: align=ll|rrr cf. (org) Tables in LaTeX export, [[info:org#Tables%20in%20LaTeX%20export][info:org#Tables in LaTeX export]] HTH, eric -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.7 (release_7.7.257.g0dd1)