emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[patch] ox-latex.el: add `:options' LaTeX attribute to tables


From: Juan Manuel Macías
Subject: [patch] ox-latex.el: add `:options' LaTeX attribute to tables
Date: Tue, 26 Oct 2021 16:05:33 +0000

Hi,

The `:options' attr. allows adding an optional argument with various
table options (between brackets in LaTeX export), since certain tabular
environments, such as `longtblr' of the `tabularray' LaTeX package,
provides this structure (see:
https://list.orgmode.org/CALtzAB1yM+uG_xHghCxTLRX5mgbzNvT5+PO=DuaBB28nCsVqEA@mail.gmail.com/#r)

Example:

#+ATTR_LATEX: :environment longtblr
#+ATTR_LATEX: :align colspec = {XXX}, width = 0.85\linewidth
#+ATTR_LATEX: :options remark{Note} = {Lorem ipsum dolor sit amet}

==> \begin{longtblr}[remark{Note} = {Lorem ipsum dolor sit amet}]{colspec = 
{XXX}, width = 0.85\linewidth}

Best regards,

Juan Manuel

Attachment: 0001-ox-latex.el-add-options-latex-attribute-to-tables.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]