auctex-devel
[Top][All Lists]
Advanced

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

Re: auctex-devel Digest, Vol 211, Issue 3


From: Artemio González López
Subject: Re: auctex-devel Digest, Vol 211, Issue 3
Date: Sat, 7 Jan 2023 19:07:40 +0100


On 7 Jan 2023, at 18:00, auctex-devel-request@gnu.org wrote:

Message: 1
Date: Sat, 07 Jan 2023 17:26:38 +0100
From: Arash Esbati <arash@gnu.org>
To: Artemio González López <artemiog@mac.com>
Cc: auctex-devel <auctex-devel@gnu.org>
Subject: Re: strange formatting
Message-ID: <861qo65n0h.fsf@gnu.org" style="font-family: Helvetica; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;">861qo65n0h.fsf@gnu.org>
Content-Type: text/plain; charset=iso-8859-1

Artemio González López <artemiog@mac.com> writes:

Thank you very much for your tip!

Sure, you're welcome.  Please keep auctex-devel@gnu.org in CC and use
Reply-To-All in your MUA, otherwise your messages won't be visible on
the list.  Thanks.

But what about this example:

\documentclass[a4paper,11pt]{article}

\usepackage{babel}
\usepackage{amsmath}

\begin{document}

\[
 \begin{vmatrix}
   \hfill\frac1{3}-\lambda& -\frac14\\[2pt]
   -\frac14& \hfill\frac1{3}-\lambda
 \end{vmatrix}
 =\bigg(\frac13-\lambda\bigg)^2-\frac1{16}=0\iff
   \frac13-\lambda=\pm\frac14\iff\lambda=
     \begin{cases}
       \frac13-\frac14=\frac1{12}\\[3pt]
       \frac13+\frac14=\frac7{12}\,.
     \end{cases}
   \]


 \end{document}

Which version of AUCTeX are you using?  That reminds me of a shortcoming
which was fixed last April with commit fa547aa71e[1].  Can you please
update your AUCTeX installation and try it again?  Your example indents
fine for me if I paste it into a .tex file, mark it and hit
'M-x indent-region RET'.

Best, Arash

Footnotes:
[1]  http://git.savannah.gnu.org/cgit/auctex.git/commit/?id=fa547aa71e9376b19630a5e0db017dc619451b75

I had auctex 13.1.2, and after updated to 13.1.6 this snippet was correctly formatted.

Thanks a lot for your help,

Artemio

Artemio Gonzalez Lopez
artemiog@mac.com

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


reply via email to

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