答案1
如果想要数学字体的数字,则需要将参数分隔为\fbox
,例如\fbox{$2~~3~~4$}
。
\documentclass{article}
\usepackage[usestackEOL]{stackengine}
\begin{document}
\[
\setstackgap{L}{\dimexpr\baselineskip+2\fboxrule}
t_1 = \Centerstack[l]{\fbox{2~~3~~4}\\\fbox{1}},\qquad
t_2 = \Centerstack[l]{\fbox{1~~3~~4}\\\fbox{2}},\qquad
t_3 = \Centerstack[l]{\fbox{1~~2~~4}\\\fbox{2}},\qquad
t_4 = \Centerstack[l]{\fbox{1~~2~~3}\\\fbox{4}}
\]
\end{document}