auctex-devel
[Top][All Lists]
Advanced

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

Re: LaTeX-fill-environment could be a bit more liberal/sophisticated???


From: Uwe Brauer
Subject: Re: LaTeX-fill-environment could be a bit more liberal/sophisticated???
Date: Sun, 30 Jan 2022 17:45:31 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

>>> "IK" == Ikumi Keita <ikumi@ikumi.que.jp> writes:
Hi Ikumi


> Hi Uwe,
>>>>>> Uwe Brauer <oub@mat.ucm.es> writes:
>> I think I brought up that issue some years ago and it somehow got
>> forgotten or it was not that important to me. Now that I have these
>> badly formatted documents I would appreciate 
>> it that filling function were a bit more liberal/sophisticated.

>> Any thoughts?

> Thanks for your report. I expect the attached patch serves. Could you
> confirm whether it works for you?

At first it did not work 
,----
| \begin{equation}
|   \label{eq:part2:93}
|   \begin{aligned}
|     &n u m=\left[\begin{array}{ll}
|                    2 & 25
|                  \end{array}\right] \\
|                &d e n=\left[\begin{array}{lll}
|                               1 & 4 & 25
|                             \end{array}\right]
|                         \end{aligned}
|                       \end{equation}
`----



but then I realised the patch is for amsmath. So I used \usepackage{amsmath} 
and reset LaTeX mode, that the result is indeed

,----
| 
| \begin{equation}
|   \label{eq:part2:93}
|   \begin{aligned}
|     &n u m=\left[\begin{array}{ll}
|                    2 & 25
|                  \end{array}\right] \\
|     &d e n=\left[\begin{array}{lll}
|                    1 & 4 & 25
|                  \end{array}\right]
|   \end{aligned}
| \end{equation}
`----


Which is much better. 

I will continue testing it. Thanks again

Uwe 

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


reply via email to

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