Dear all, I have implemented tabbing (http://www.ctex.org/documents/latex/latex2e-html/ltx-58.html) support for ox-latex. By setting #+ATTR_LATEX: :mode tabbingthe exporter will use the tabbing environment.
The benefits of using tabbing over tabular: - Can span multiple pages (also possible with long tables). - Cell width is fixed and does not depend on the content. - Cells can overflow. Use cases of tabbing: - Generate letter headings with fixed layout - Generate tables on invoices - Can replace multi-columns (my personal use case) Example 1: #+ATTR_LATEX: :mode tabbing | A | B | | | C | is exported to \begin{tabbing} \hspace{0.49\textwidth} \= \hspace{0.49\textwidth} \= \kill A \> B\\ \> C\\ \end{tabbing} Example 2: #+ATTR_LATEX: :mode tabbing | *Address* | Some street 100, box 101 | | *GSM* | 00 000 00 00 00 | | | Country | | *Email* | m...@example.com | the exported pdf is attached to this mail. Example 3: #+ATTR_LATEX: :mode tabbing :align \hspace{2cm} \= \hspace{2cm} \= \kill | name: | A very long product name in this cell | | | options: | option 1 | 1 | | | option 2 | 1 | | | option 3 | 0 | the exported pdf is attached to this mail. Implementation details: - The table environment must be set to tabbing - The cell separators must be set to \> - The alignment string must be updated. Kind regards, Bob Vergauwen
0001-ox-latex.el-Added-padding-support.patch
Description: Binary data
0002-org-manual.org-Added-padding-feature-to-the-manual.patch
Description: Binary data
0003-ORG-NEWS-Added-padding-feature-to-version-9.6.patch
Description: Binary data
padding-example.pdf
Description: Adobe PDF document