From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: LaTeX equation align in orgmode? Date: Tue, 29 Sep 2015 17:49:38 +0200 Message-ID: <87k2r9b4z1.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54673) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zgx8M-0000Pd-TU for emacs-orgmode@gnu.org; Tue, 29 Sep 2015 11:48:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zgx8I-00005A-Tq for emacs-orgmode@gnu.org; Tue, 29 Sep 2015 11:48:02 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:50214) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zgx8I-00004y-NN for emacs-orgmode@gnu.org; Tue, 29 Sep 2015 11:47:58 -0400 In-Reply-To: (Rainer M. Krug's message of "Mon, 28 Sep 2015 21:10:43 +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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Rainer M Krug Cc: emacs-orgmode@gnu.org Hello, Rainer M Krug writes: > I would need in a document several equations which are aligned as in > http://tex.stackexchange.com/a/167908/6941 > > How can I use the following latex formula in orgmode? > > \begin{proof} The proof is a follows: > \begin{align} > (x+y)^3&=(x+y)(x+y)^2\\ > &=(x+y)(x^2+2xy+y^2)\\ > &=x^3+3x^2y+3xy^3+x^3.\qedhere > \end{align} > \end{proof} > > I have effectrively > > #+LATEX_HEADER: \usepackage{amsmath} > > * The equations > > \begin{equation} > \begin{align} > (x+y)^3&=(x+y)(x+y)^2\\ > &=(x+y)(x^2+2xy+y^2)\\ > &=x^3+3x^2y+3xy^3+x^3.\qedhere > \end{align} > \end{equation} > > but with latex fragment preview (C-c C-x C-l) I only get an empty frame. > > How can use this align environment in org? Make sure to C-c C-c on the keyword. Regards, -- Nicolas Goaziou