![如何使单元格在对齐环境中居中?](https://linux22.com/image/471471/%E5%A6%82%E4%BD%95%E4%BD%BF%E5%8D%95%E5%85%83%E6%A0%BC%E5%9C%A8%E5%AF%B9%E9%BD%90%E7%8E%AF%E5%A2%83%E4%B8%AD%E5%B1%85%E4%B8%AD%EF%BC%9F.png)
答案1
答案2
我建议您从 切换aligned
到 TeX 原语\halign
。
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\boxed{\vbox{\halign{\hfil#\hfil\cr
Therefore, one plus one equals two.\cr
$1+1=2$\cr}}}
\end{document}
我建议您从 切换aligned
到 TeX 原语\halign
。
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\boxed{\vbox{\halign{\hfil#\hfil\cr
Therefore, one plus one equals two.\cr
$1+1=2$\cr}}}
\end{document}