auctex-devel
[Top][All Lists]
Advanced

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

Re: (still) problems with the filling functions and and inline equations


From: Ikumi Keita
Subject: Re: (still) problems with the filling functions and and inline equations
Date: Sun, 17 Dec 2023 16:50:30 +0900

Hi Uwe,

>>>>> Uwe Brauer <oub@mat.ucm.es> writes:
> Some time ago Keita suggested to use 
> (defun   my-add-fill-inhibit-regexp ()
>   (interactive)
>   (setq-local auto-fill-inhibit-regexp ".*% *$"))
> (add-hook 'LaTeX-mode-hook 'my-add-fill-inhibit-regexp)

> To avoid that in equations long lines get broken. That works, however
> not for inline equations as the following example shows:
[...]

> The LaTeX-fill-environment results in 

That's a due result. The variable `auto-fill-inhibit-regexp' is relevant
only for auto-filling.

> How can I avoid this filling? I also played around with 
> LaTeX-indent-environment-list
> but even after have set
>  ("enumerate" LaTeX-indent-tabular)

> It still breaks the inline equations

> Any ideas?

I expect that
(push '("enumerate") LaTeX-fill-environment-list)
in LaTeX-mode-hook would work.

Regards,
Ikumi Keita
#StandWithUkraine #StopWarInUkraine
#Gaza #StopMassiveKilling #CeasefireNOW



reply via email to

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