emacs-orgmode
[Top][All Lists]
Advanced

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

[O] [ox-latex] change org-latex-default-table-environment to alist


From: Rasmus
Subject: [O] [ox-latex] change org-latex-default-table-environment to alist
Date: Sun, 07 Apr 2013 22:27:42 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Hi,

Would it maybe make sense to make org-latex-default-table-environment
an alist so that I can specify a default for each :mode?  E.g. pmatrix
for :mode math; psmallmatrix for :mode inline-math; and tabular for
:mode table?

The reason is that now 

#+BEGIN_SRC org
here's inline
#+ATTR_LATEX: :mode inline-math :math-prefix P= 
| a | b |
| g | d |
table.
#+END_SRC

becomes
#+BEGIN_SRC latex
here's inline
\[P=\begin{tabular}
 a & b \\
 g & d \\
\end{tabular}\]
table.
#+END_SRC

–Rasmus

-- 
This is the kind of tedious nonsense up with which I will not put




reply via email to

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