注意到代码
\documentclass{article}
\usepackage{showframe}
\newenvironment{abc}{\par}{\par}
\begin{document}
\makeatletter
text1\par
text2\@doendpe
\begin{abc}
abc
\end{abc}
text4\par
text5
\end{document}的结果为
\@doendpe在其后的第二个\par中生效。
如何让\@doendpe之后的第一个\par不缩进而不是第二个?(也可以用其他命令达到这个效果,但不要用空行解决)
这个
ltpara的hook好像还挺新的(๑•̀ㅂ•́)و✧@u70550 不算太新,应该在 2021 年就有了。