From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: SOLVED: LaTeX equation align in orgmode? Date: Tue, 29 Sep 2015 10:09:04 +0200 Message-ID: References: <878u7pk73l.fsf@delle7240.chemeng.ucl.ac.uk> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40236) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZgpyL-0008Pd-Ee for emacs-orgmode@gnu.org; Tue, 29 Sep 2015 04:09:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZgpyG-0005MK-Ez for emacs-orgmode@gnu.org; Tue, 29 Sep 2015 04:09:13 -0400 Received: from mail-wi0-f173.google.com ([209.85.212.173]:36494) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZgpyG-0005M8-9c for emacs-orgmode@gnu.org; Tue, 29 Sep 2015 04:09:08 -0400 Received: by wicgb1 with SMTP id gb1so137012659wic.1 for ; Tue, 29 Sep 2015 01:09:07 -0700 (PDT) Received: from Rainers-MacBook-Pro.local (arn78-1-88-186-171-7.fbx.proxad.net. [88.186.171.7]) by smtp.gmail.com with ESMTPSA id jc9sm22458576wic.6.2015.09.29.01.09.06 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 29 Sep 2015 01:09:06 -0700 (PDT) In-Reply-To: <878u7pk73l.fsf@delle7240.chemeng.ucl.ac.uk> (Eric S. Fraga's message of "Tue, 29 Sep 2015 08:38:54 +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: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable 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=20 >> 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:=20 >> \begin{align} >> (x+y)^3&=3D(x+y)(x+y)^2\\ >> &=3D(x+y)(x^2+2xy+y^2)\\ >> &=3Dx^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? Sorry for the noise and thanks, Rainer =2D-=20 Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,= UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33 - (0)6 85 62 59 98 Fax : +33 - (0)9 58 10 27 44 Fax (D): +49 - (0)3 21 21 25 22 44 email: Rainer@krugs.de Skype: RMkrug PGP: 0x0F52F982 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBCAAGBQJWCkcgAAoJENvXNx4PUvmCbQ8IAKM1qJRVagr5gYrm2W/PCyec RYgId/xsdbZdI3S8qbk18asMUpybvqq7+yB1BBTqzZsn7yoDgjrby0mSEKcTChtV pkHlfch7VWMHJwZvefk9OA2lTIvXxJesnvRRDJBZsihM2yGARJZYMzKKsOtdGvXk dDJUNYv2yNYnupTwZBZ38C/Cl3kdcFlS4V3P4w6pF5MVhS1nqgICyxyhhINY8qEd sx3FkDy54OHBt36/8fcwJd7MLHfxShO7CVi6RPqiC/+i4m1eSsIC1qjgCMBOYA24 2TatDogLypHOhR7JFcCu7wtF+9fIYJrjhxRUx6O/4FrC+5e0zOivM3dYjYeK4aY= =Vr+K -----END PGP SIGNATURE----- --=-=-=--