From mboxrd@z Thu Jan 1 00:00:00 1970 From: Uwe Brauer Subject: Re: feature proposal, add prefix and suffix to orgtbl matrix Date: Fri, 10 Mar 2017 19:18:02 +0000 Message-ID: <87wpbxaql1.fsf@mat.ucm.es> References: <87shmm7k9v.fsf@mat.ucm.es> <87k27x9hi0.fsf@nicolasgoaziou.fr> <8760jhc9oa.fsf@mat.ucm.es> <874lz19ds1.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36654) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cmQ3V-0006cV-6W for emacs-orgmode@gnu.org; Fri, 10 Mar 2017 14:18:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cmQ3S-0006V9-3B for emacs-orgmode@gnu.org; Fri, 10 Mar 2017 14:18:25 -0500 Received: from [195.159.176.226] (port=53205 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cmQ3R-0006Ux-Ru for emacs-orgmode@gnu.org; Fri, 10 Mar 2017 14:18:22 -0500 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1cmQ39-0006LB-VC for emacs-orgmode@gnu.org; Fri, 10 Mar 2017 20:18:03 +0100 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 > Uwe Brauer writes: > Then you need two placeholders, one for each matrix. > You can: > \[ > A= > % BEGIN RECEIVE ORGTBL test > \begin{pmatrix} > 6 & 7 \\ > & \\ > 8 & \\ > 9 & \\ > \end{pmatrix} > % END RECEIVE ORGTBL test > \] > \begin{comment} > #+ORGTBL: SEND test orgtbl-to-latex :latex-default-table-mode math :environment pmatrix > | 6 | 7 | > | | | > | 8 | | > | 9 | | > \end{comment} Thanks, even the following works so the magic is to use #+ORGTBL: SEND test orgtbl-to-latex :latex-default-table-mode math :environment pmatrix _instead  Of this #+ORGTBL: SEND this orgtbl-to-latex-matrix :splice nil :skip 0 \[ A= % BEGIN RECEIVE ORGTBL test \begin{pmatrix} 6 & 7 \\ 12 & \\ 8 & 9 \\ 9 & 10 \\ \end{pmatrix} % END RECEIVE ORGTBL test B= % BEGIN RECEIVE ORGTBL new \begin{pmatrix} 5 & 6 \\ 9 & 8 \\ & \\ \end{pmatrix} % END RECEIVE ORGTBL new \] \begin{comment} #+ORGTBL: SEND test orgtbl-to-latex :latex-default-table-mode math :environment pmatrix | 6 | 7 | | 12 | | | 8 | 9 | | 9 | 10 | #+ORGTBL: SEND new orgtbl-to-latex :latex-default-table-mode math :environment pmatrix | 5 | 6 | | 9 | 8 | | | | \end{comment}