首先是MWE,其输出如下:
\documentclass{article}
\usepackage[tbtags]{amsmath}
\usepackage[bguq]{frege}
\begin{document}
The alignment is as desired:
$\Fconditional[{\Facontent[1]}]{\Fconditional[{\Fcontent[1]}]{\Fconditional[{\Fcontent[1]}]{\Fcontent[1] a}{\Fcontent[1] c}}{\Fconditional[{\Fcontent[1]}]{\Fcontent[1] b}{\Fcontent[1] c}}}{\Fconditional[{\Fcontent[1]}]{\Fconditional[{\Fcontent[1]}]{\Fcontent[1] a}{\Fcontent[1] b}}{\Fcontent[2] c}}$,
while the following one is not. Is there any solution to make the following equation number be aligned at the bottom line?
\begin{equation}
\Fconditional[{\Facontent[1]}]{\Fconditional[{\Fcontent[1]}]{\Fconditional[{\Fcontent[1]}]{\Fcontent[1] a}{\Fcontent[1] c}}{\Fconditional[{\Fcontent[1]}]{\Fcontent[1] b}{\Fcontent[1] c}}}{\Fconditional[{\Fcontent[1]}]{\Fconditional[{\Fcontent[1]}]{\Fcontent[1] a}{\Fcontent[1] b}}{\Fcontent[2] c}}
\end{equation}
\end{document}
tbtags
如您所见,尽管在包中调用了该选项,但示例中的数字并未在底线对齐amsmath
。那么有什么解决方案可以解决这个问题吗?
答案1
我相信该软件包的开发人员希望此类构造的参考点位于顶线。
\documentclass{article}
\usepackage[tbtags]{amsmath}
\usepackage[bguq]{frege}
\begin{document}
\begin{equation}
\raisebox{\dimexpr\depth-\dp\strutbox}{%
\Fconditional[{\Facontent[1]}]{\Fconditional[{\Fcontent[1]}]{\Fconditional[{\Fcontent[1]}]{\Fcontent[1] a}{\Fcontent[1] c}}{\Fconditional[{\Fcontent[1]}]{\Fcontent[1] b}{\Fcontent[1] c}}}{\Fconditional[{\Fcontent[1]}]{\Fconditional[{\Fcontent[1]}]{\Fcontent[1] a}{\Fcontent[1] b}}{\Fcontent[2] c}}%
}
\end{equation}
\end{document}