From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [ANN] e-latex back-end: changes to attributes syntax Date: Sun, 25 Nov 2012 16:31:57 +0100 Message-ID: <87y5hp3dhu.fsf@gmail.com> References: <87haoiewwr.fsf@gmail.com> <87boeq97me.fsf@pank.iue.private> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:60497) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TceFf-0005sV-LB for emacs-orgmode@gnu.org; Sun, 25 Nov 2012 10:36:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TceFe-000205-Hi for emacs-orgmode@gnu.org; Sun, 25 Nov 2012 10:36:11 -0500 Received: from mail-we0-f169.google.com ([74.125.82.169]:34422) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TceFe-0001zv-B5 for emacs-orgmode@gnu.org; Sun, 25 Nov 2012 10:36:10 -0500 Received: by mail-we0-f169.google.com with SMTP id t49so2457109wey.0 for ; Sun, 25 Nov 2012 07:36:09 -0800 (PST) In-Reply-To: <87boeq97me.fsf@pank.iue.private> (rasmus@gmx.us's message of "Wed, 21 Nov 2012 18:40:57 +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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Rasmus Cc: emacs-orgmode@gnu.org Rasmus writes: > Nicolas Goaziou writes: > >> I've changed the attribute syntax for tables, images and lists in >> e-latex back-end (new exporter). New this back-end conforms to the >> syntax used by Babel and every other back-end. > > Super cool! I eagerly looking forward to using this for real world > tasks! I added another related feature that may come handy: math table clusters. Contiguous math tables sharing the same mode are enclosed within the same math environment. It allows to type, for example: --8<---------------cut here---------------start------------->8--- #+label: I_2 #+attr_latex: :mode math :environment bmatrix | a | b | |---+---| | c | d | #+attr_latex: :mode math :environment bmatrix :math-prefix "\\times" | 1 | 0 | |---+---| | 0 | 1 | #+attr_latex: :mode math :environment bmatrix :math-prefix "=" | 1 | 0 | |---+---| | 0 | 1 | #+attr_latex: :mode math :environment bmatrix :math-prefix "\\times" | a | b | |---+---| | c | d | #+attr_latex: :mode math :environment bmatrix :math-prefix "=" | a | b | |---+---| | c | d | --8<---------------cut here---------------end--------------->8--- and get: --8<---------------cut here---------------start------------->8--- \begin{equation} \label{I_2} \begin{bmatrix} a & b \\ c & d \\ \end{bmatrix} \times\begin{bmatrix} 1 & 0 \\ 0 & 1 \\ \end{bmatrix} =\begin{bmatrix} 1 & 0 \\ 0 & 1 \\ \end{bmatrix} \times\begin{bmatrix} a & b \\ c & d \\ \end{bmatrix} =\begin{bmatrix} a & b \\ c & d \\ \end{bmatrix} \end{equation} --8<---------------cut here---------------end--------------->8--- Regards, -- Nicolas Goaziou