emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* transform tables to matrix when exporting to latex, including expressions.
@ 2019-06-13 13:44 Uwe Brauer
  0 siblings, 0 replies; only message in thread
From: Uwe Brauer @ 2019-06-13 13:44 UTC (permalink / raw)
  To: emacs-orgmode



Hi

(It seems that I have to resend my message, hope there will be no double
posting).


I know that 

#+begin_src 
#+attr_latex: :mode math :environment matrix
| 0 | -5 |
| 5 |  0 |
#+end_src


Results in 

#+begin_src 
\[
\begin{matrix}
 0 & -5 \\
 5 & 0 \\
\end{matrix}
\]
#+end_src



However I would like 

#+begin_src 
#+attr_latex: :mode math :environment matrix
D=
| 0 | -5 |
| 5 |  0 |
#+end_src


To be exported as 

#+begin_src 
\[
D=
\begin{matrix}
 0 & -5 \\
 5 & 0 \\
\end{matrix}
\]
#+end_src

How can I do that? 

Thanks and regards

Uwe Brauer 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-06-13 13:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-13 13:44 transform tables to matrix when exporting to latex, including expressions Uwe Brauer

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).