From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alain.Cochard@unistra.fr Subject: Is it possible to "properly" indent inside latex fragments? Date: Mon, 23 Jan 2017 16:47:49 +0100 Message-ID: <22662.9637.821790.492211@frac.u-strasbg.fr> Reply-To: alain.cochard@unistra.fr Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60910) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cVgqe-0006kO-Ay for emacs-orgmode@gnu.org; Mon, 23 Jan 2017 10:48:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cVgqb-0002cG-8m for emacs-orgmode@gnu.org; Mon, 23 Jan 2017 10:48:00 -0500 Received: from mailhost.u-strasbg.fr ([130.79.222.215]:42552) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cVgqb-0002c6-1K for emacs-orgmode@gnu.org; Mon, 23 Jan 2017 10:47:57 -0500 Received: from mailhost.u-strasbg.fr (localhost [127.0.0.1]) by antispam (Postfix) with ESMTP id 875A4A7263 for ; Mon, 23 Jan 2017 16:47:53 +0100 (CET) Received: from mailhost.u-strasbg.fr (localhost [127.0.0.1]) by antivirus (Postfix) with ESMTP id 795DEA72BC for ; Mon, 23 Jan 2017 16:47:53 +0100 (CET) Received: from local-mr.u-strasbg.fr (lmr2.u-strasbg.fr [172.30.21.2]) by mr5.u-strasbg.fr (Postfix) with ESMTP id 68F46A7263 for ; Mon, 23 Jan 2017 16:47:52 +0100 (CET) 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" To: emacs-orgmode@gnu.org Cc: Alain Cochard Hello. =20 This is what I obtain if I type each line followed by and then in an org file: * foo \begin{displaymath} \begin{split} a &=3D b \\ &+c =20 \end{split} \end{displaymath} If I highlight everything and use 'M-x indent-region' or 'M-x org-indent-region', it does not change. Instead, what I would like to get is: * foo \begin{displaymath} \begin{split} a &=3D b \\ &+c \end{split} \end{displaymath} (That specific indentation for the latex instructions is what I obtain within a .tex file.) Is it possible=3F =20 Thank you. (I did spend quite some time searching for a solution...) --=20 EOST (=C9cole et Observatoire des Sciences de la Terre)=20 IPG (Institut de Physique du Globe) | alain.cochard@unistra.fr 5 rue Ren=E9 Descartes [bureau 106] | Phone: +33 (0)3 68 85 50 44=20 F-67084 Strasbourg Cedex, France | Fax: +33 (0)3 68 85 01 25 =20=