auctex-devel
[Top][All Lists]
Advanced

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

Re: [AUCTeX-devel] filling problem with equations


From: Tassilo Horn
Subject: Re: [AUCTeX-devel] filling problem with equations
Date: Mon, 12 Oct 2015 13:06:58 +0200
User-agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (gnu/linux)

Uwe Brauer <address@hidden> writes:

Hi Uwe,

> The following equation is not filled correctly
> ,----
> | \documentclass[12pt]{article}
> | \begin{document}
> | 
> | \begin{equation}
> |   \label{eq:fix:1}
> |   \left\{\begin{array}{lll}
> |            \partial_t \widetilde{w} + \widetilde{v}^a\partial_a 
> \widetilde{w} + \widetilde{w} 
> |            \partial_a \widetilde{v}^a           &= 0 \\
> |            \partial_t \widetilde{v}^a + v^b\partial_b \widetilde{v}^a  + 
> \frac{\gamma-1}{2} 
> |            \widetilde{w}\partial^a \widetilde{w}           &=  
> -\partial^a\phi 
> |          \end{array}\right.
> |      \end{equation}
> | 
> | \end{document}
> `----
>
> can somebody confirm that?

Yes, I can.  It seems it works as soon as you put the start of the array
onto a line of its own.

--8<---------------cut here---------------start------------->8---
\begin{equation}
  \label{eq:fix:1}
  \left\{
    \begin{array}{lll}
      \partial_t \widetilde{w} + \widetilde{v}^a\partial_a \widetilde{w} + 
\widetilde{w} 
      \partial_a \widetilde{v}^a           &= 0 \\
      \partial_t \widetilde{v}^a + v^b\partial_b \widetilde{v}^a  + 
\frac{\gamma-1}{2} 
      \widetilde{w}\partial^a \widetilde{w}           &=  -\partial^a\phi 
    \end{array}
  \right.
\end{equation}
--8<---------------cut here---------------end--------------->8---

Bye,
Tassilo




reply via email to

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