From mboxrd@z Thu Jan 1 00:00:00 1970 From: Uwe Brauer Subject: transform tables to matrix when exporting to latex, including expressions. Date: Thu, 13 Jun 2019 15:44:52 +0200 Message-ID: <87h88twqej.fsf@mat.ucm.es> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:55840) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hbQ2P-0007ks-BS for emacs-orgmode@gnu.org; Thu, 13 Jun 2019 09:45:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hbQ2N-0008LS-A1 for emacs-orgmode@gnu.org; Thu, 13 Jun 2019 09:45:09 -0400 Received: from [195.159.176.226] (port=40906 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hbQ2L-0008IA-6o for emacs-orgmode@gnu.org; Thu, 13 Jun 2019 09:45:07 -0400 Received: from list by blaine.gmane.org with local (Exim 4.89) (envelope-from ) id 1hbQ2E-000Kj7-Ff for emacs-orgmode@gnu.org; Thu, 13 Jun 2019 15:44:58 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org 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