[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Wrong indentation of align* env with empheq.el
From: |
Arash Esbati |
Subject: |
Wrong indentation of align* env with empheq.el |
Date: |
Mon, 28 Nov 2022 13:30:57 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 |
Hi all,
please consider this .tex file where empheq.el is loaded:
--8<---------------cut here---------------start------------->8---
\documentclass{article}
\usepackage[overload]{empheq}
\begin{document}
\end{document}
%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% End:
--8<---------------cut here---------------end--------------->8---
Now put point between \begin|\end{document} and hit 'C-c C-e align* RET
RET' and it looks like this:
--8<---------------cut here---------------start------------->8---
\documentclass{article}
\usepackage[overload]{empheq}
\begin{document}
\begin{align*}
\end{align*}
\end{document}
%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% End:
--8<---------------cut here---------------end--------------->8---
Can someone please enlighten me why the environment is indented? It
seems that `indent-according-to-mode' after
(insert TeX-esc "begin" TeX-grop environment TeX-grcl)
inside `LaTeX-insert-environment' adds the indentation, but I don't
understand why.
TIA. Best, Arash
- Wrong indentation of align* env with empheq.el,
Arash Esbati <=
- Re: Wrong indentation of align* env with empheq.el, Ikumi Keita, 2022/11/28
- Re: Wrong indentation of align* env with empheq.el, Arash Esbati, 2022/11/28
- Re: Wrong indentation of align* env with empheq.el, Ikumi Keita, 2022/11/29
- Re: Wrong indentation of align* env with empheq.el, Arash Esbati, 2022/11/29
- Re: Wrong indentation of align* env with empheq.el, Ikumi Keita, 2022/11/30
- Re: Wrong indentation of align* env with empheq.el, Arash Esbati, 2022/11/30
- Re: Wrong indentation of align* env with empheq.el, Ikumi Keita, 2022/11/30