From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: LaTeX equation align in orgmode? Date: Tue, 29 Sep 2015 08:38:54 +0100 Message-ID: <878u7pk73l.fsf@delle7240.chemeng.ucl.ac.uk> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58828) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZgpcL-0002ty-9u for emacs-orgmode@gnu.org; Tue, 29 Sep 2015 03:46:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZgpcK-0002iO-8c for emacs-orgmode@gnu.org; Tue, 29 Sep 2015 03:46:29 -0400 Received: from mail-db3on0128.outbound.protection.outlook.com ([157.55.234.128]:58636 helo=emea01-db3-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZgpcJ-0002fS-VV for emacs-orgmode@gnu.org; Tue, 29 Sep 2015 03:46:28 -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 On Monday, 28 Sep 2015 at 21:10, Rainer M Krug wrote: > Hi > > I would need in a document several equations which are aligned as in > http://tex.stackexchange.com/a/167908/6941 I use align all the time. > 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} Where is proof defined? You may need to add specific packages to org-latex-packages-alist. In any case, I find that it is safer generally to enclose all LaTeX fragments in a LaTeX block: #+begin_latex ... #+end_latex. -- : Eric S Fraga (0xFFFCF67D), Emacs 24.5.1, Org release_8.3.1-203-g4ca3d3