emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] feature proposal, add prefix and suffix to orgtbl matrix


From: Uwe Brauer
Subject: Re: [O] feature proposal, add prefix and suffix to orgtbl matrix
Date: Fri, 10 Mar 2017 19:18:02 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

   > Uwe Brauer <address@hidden> 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}





reply via email to

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