emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] BUG: preview latex with split environment


From: Varius Various
Subject: Re: [O] BUG: preview latex with split environment
Date: Sun, 10 Apr 2016 21:51:10 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Andreas Leha <address@hidden> writes:
>Nicolas Goaziou <address@hidden> writes:
>> Hello,
>>
>> Andreas Leha <address@hidden> writes:
>>
>>> I open this file:
>>>
>>> #+TITLE: Test amsmath's split
>>>
>>> * Some equation
>>> with some split expression, e.g.
>>> \begin{equation}
>>>   \begin{split}
>>>     w \cdot x + b &= 1, \text{ and}\\
>>>     w \cdot x + b &= -1
>>>   \end{split}
>>> \end{equation}
>>>
>>> To reproduce try to org-toggle-latex-fragment (C-c C-x C-l) on that
>>> latex expression.
>>
>> This should be fixed in master. Thank you for reporting it.
>>
>
>I can confirm this is fixed in my use case.
>
>Thank you very much!  That'll save me several LaTeX compilation cycles.

I have no problem with Andreas' example, but it fails in my case, where
"&" symbols are at the beginning of a line:

\begin{equation}
 \begin{split}
 (a - b) + c &= (a + (-b)) + c\\
  &= a + (-b + c)\\
  &= a + (c - b)\\
  &= (a + c) - b\text{.}
 \end{split}
\end{equation}



reply via email to

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