Uwe Brauer <o...@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