emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Is it possible to "properly" indent inside latex fragments?


From: Alain . Cochard
Subject: Re: [O] Is it possible to "properly" indent inside latex fragments?
Date: Wed, 1 Feb 2017 20:05:49 +0100

Charles C. Berry writes on Mon 23 Jan 2017 08:44:

 > With export blocks you can get close.
 > 
 > If you type =C-c '= inside the following export block, you will get the 
 > contents in a latex buffer. Then indentation and other LATEX/P mode 
 > operations are available. When you exit with another =C-c '= the 
 > indentation is preserved.
 > 
 > #+BEGIN_EXPORT latex
 > \begin{displaymath}
 >    \begin{split}
 >      a &= b \\
 >      &+c
 >    \end{split}
 > \end{displaymath}
 > #+END_EXPORT
 > 
 > 
 > HTH,
 > 
 > Chuck

Thank you very much.  Might indeed be helpful on occasion, although it
would be rather inconvenient to use it for each such latex fragment.

I had assumed that if Org is able to recognize a latex fragment, it
should be able to use the appropriate indentation (and other latex
specific stuff).

I can only hope this will be available in the future!

Regards.

-- 
EOST (École et Observatoire des Sciences de la Terre) 
IPG (Institut de Physique du Globe) | address@hidden
5 rue René Descartes   [bureau 106] | Phone: +33 (0)3 68 85 50 44 
F-67084 Strasbourg Cedex, France    | Fax:   +33 (0)3 68 85 01 25     


reply via email to

[Prev in Thread] Current Thread [Next in Thread]