bug-auctex
[Top][All Lists]
Advanced

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

bug#65648: 13.2; indentation of nested environments


From: Uwe Brauer
Subject: bug#65648: 13.2; indentation of nested environments
Date: Sat, 09 Sep 2023 21:09:28 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

> Hi Paul and Uwe,

Hi Keita

> I've been gradually inclined to the attached approach. Namely, align "&"
> as well as \end{foo} relative to beg-col, not beg-pos. In this way, the
> above examples turn into
> ----------------------------------------------------------------------
> \begin{equation*}
>   g = \begin{pmatrix}
>     a & b \\
>     c & d \\
>   \end{pmatrix},
>   \quad
>   h = \begin{pmatrix}
>     x & y \\
>     z & w \\
>   \end{pmatrix}.
> \end{equation*}

Thanks, but:
I applied the patch, recompiled, restarted emacs, and then

\begin{equation*}
  g = \begin{pmatrix}
    a & b \\
    c & d \\
  \end{pmatrix},
  \quad
  h = \begin{pmatrix}
    x & y \\
    z & w \\
  \end{pmatrix}.
\end{equation*}

Either with 

    1. LaTeX-indent-always-align-end-with-begin nil

    2. LaTeX-indent-always-align-end-with-begin t
       
Is filled as

\begin{equation*}
  g = \begin{pmatrix}
    a & b \\
    c & d \\
  \end{pmatrix}, \quad h = \begin{pmatrix}
    x & y \\
    z & w \\
  \end{pmatrix}.
\end{equation*}


That does not look correct to me, sorry the \begin{matrix} should be on
a newline.

Is this a bug?

Regards

Uwe 

Attachment: smime.p7s
Description: S/MIME cryptographic signature


reply via email to

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