From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Leha Subject: Re: SOLVED: LaTeX equation align in orgmode? Date: Tue, 29 Sep 2015 16:54:57 +0100 Message-ID: References: <878u7pk73l.fsf@delle7240.chemeng.ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56016) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZgxFT-0001ly-Ge for emacs-orgmode@gnu.org; Tue, 29 Sep 2015 11:55:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZgxFP-0002rH-6a for emacs-orgmode@gnu.org; Tue, 29 Sep 2015 11:55:23 -0400 Received: from plane.gmane.org ([80.91.229.3]:35928) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZgxFP-0002qW-07 for emacs-orgmode@gnu.org; Tue, 29 Sep 2015 11:55:19 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZgxFJ-0006aj-FB for emacs-orgmode@gnu.org; Tue, 29 Sep 2015 17:55:13 +0200 Received: from global-184-31.nat-1.net.cam.ac.uk ([131.111.184.31]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 29 Sep 2015 17:55:13 +0200 Received: from andreas.leha by global-184-31.nat-1.net.cam.ac.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 29 Sep 2015 17:55:13 +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: emacs-orgmode@gnu.org Rainer M Krug writes: > Eric S Fraga writes: > >> 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. > > The proof and the ".\qedhere" > > Stupid typos. > >> >> In any case, I find that it is safer generally to enclose all LaTeX >> fragments in a LaTeX block: #+begin_latex ... #+end_latex. > > Good idea - but then the preview does not work anymore? > see http://orgmode.org/worg/org-hacks.html#orgheadline91 Best, Andreas