[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: delete unwanted space in environments
From: |
Arash Esbati |
Subject: |
Re: delete unwanted space in environments |
Date: |
Tue, 24 Oct 2023 18:35:51 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Uwe Brauer <oub@mat.ucm.es> writes:
> It sometimes happens that after using
> 1. LaTeX-fill-environment and
>
> 2. LaTeX-align-tabular (a command provided by Arash unofficially
>
> https://tex.stackexchange.com/questions/557959/emacs-auctex-tabular-vertical-alignment-of-cells
>
> I end up with expression like this in environments:
>
> &\textcolor{blue}{-
> \int\limits_{\mathbb{T}^{3}}^{}e^{\pmb{\kappa}\Omega t}\left(
> e^{\pmb{\kappa}\Omega t}\partial_t\Phi
>
> So between - and \int there is a lot of unwanted space. I can delete
> this manually by using delete-horizontal-space, but what I am looking
> for is a function that runs region wise
In which environment are you doing this? IIRC, filling gives funny
results in special environments which don't have an entry in
`LaTeX-indent-environment-list'. I suggest you don't use
`LaTeX-fill-environment' and/or comment out the line in the function I
posted on tex.sx.
Best, Arash