注意到代码
\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好像还挺新的(๑•̀ㅂ•́)و✧