LaTeX aligned环境下第二行缩进问题求助
解决LaTeX aligned环境第二行缩进问题
问题原因
你用\phantom{\therefore}未生效,是因为只模拟了\therefore的宽度,但没包含它后面的空格,导致第二行起始位置比预期靠前,无法对齐到第一行m\angle的位置。
可行解决方案
方案1:补全空格的占位宽度
将\phantom的内容改为包含\therefore和后续空格,精确匹配第一行\therefore及空格的总宽度,实现对齐:
\begin{aligned} & \therefore m\angle BTS+m\angle TSE+ \\ &\phantom{\therefore\ }m\angle SEB+m\angle EBT=360^\circ \end{aligned}
方案2:调整对齐点(更简洁推荐)
把对齐符号&移到m\angle的前面,第一行的\therefore放在对齐点左侧,第二行直接从对齐点开始,自然实现缩进效果:
\begin{aligned} \therefore\ & m\angle BTS+m\angle TSE+ \\ & m\angle SEB+m\angle EBT=360^\circ \end{aligned}
该方案更贴合aligned环境的设计逻辑,后续修改维护更便捷。
内容的提问来源于stack exchange,提问作者Ajit
相关产品推荐
相关产品推荐

