emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] orgtbl-insert-matrix, embedded


From: Rasmus
Subject: Re: [O] orgtbl-insert-matrix, embedded
Date: Wed, 22 Feb 2017 15:12:12 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Hi Uwe,

Uwe Brauer <address@hidden> writes:

> I can use orgtbl-insert-matrix to nicely insert one matrix
> resulting in
> % BEGIN RECEIVE ORGTBL neu
> \[
> \begin{pmatrix}
> 8 & 8 \\
>  &  \\
> \end{pmatrix}
> \]
> % END RECEIVE ORGTBL neu
> \begin{comment}
>
> #+ORGTBL: SEND neu orgtbl-to-latex-matrix :splice nil :skip 0
> | 8 | 8 |
>
> |   |   |
> \end{comment}
> is there a way to insert another array into the same latex environment?

Something like this?

    #+ATTR_LATEX: :mode math :environment pmatrix :math-suffix \times 
:math-prefix \mathbf{y}=
    | a | b |
    | c | d |
    #+ATTR_LATEX: :mode math :environment pmatrix
    | 1 | 2 |
    | 3 | 4 |

See (info "(org) Tables in LaTeX export"):

    http://orgmode.org/org.html#Tables-in-LaTeX-export

Rasmus

-- 
Even a three-legged dog has three good legs to lose




reply via email to

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