3 ms·cdlatex-mode has that feature IIRC. Probably auctex does too.by svat 9y agocdlatex-mode has that feature IIRC. Probably auctex does too.