答案1
版本 1:像这样(或类似)
代码:
\documentclass[12pt]{article}
\usepackage{xcolor,amsmath}
\usepackage{tabularray}
\begin{document}
\begin{table}
\centering
\begin{tblr}
{
colspec = {Q[l,m]Q[l,m]Q[l,m]},
hline{1,Z} = {.12em},
hline{2} = {.06em},
rows = {font=\small \bfseries},
row{even[2-Z]} = {gray!20}
}
\SetCell[c=3]{c} Fundamentals Equations\\
Text 1 & Text 2 & Text 3 \\
aaa & Mathematics & {$ax+b=c$\\$\Delta=b^2-4ac$}\\
ccc & Physics & {$F=G\frac{m_1m_2}{r^2}$\\$Q=cm\Delta t$\\$F=ma$\\$E=mc^2$}\\
\end{tblr}
\end{table}
\end{document}
版本 2:更具可读性,并带有编号的方程式:
代码:
\documentclass[12pt]{article}
\usepackage{xcolor,amsmath,enumitem}
\usepackage{tabularray}
\begin{document}
\SetTblrInner{rowsep=5pt}
\begin{table}
\centering
\begin{tblr}
{
colspec = {Q[l,m]Q[l,m]Q[l,m]},
hline{1,Z} = {.12em},
hline{2} = {.06em},
rows = {font=\small \bfseries},
row{even[2-Z]} = {gray!20}
}
\SetCell[c=3]{c} Fundamentals Equations\\
Text 1 & Text 2 & Text 3 \\
aaa & Mathematics & {(1)\qquad$ax+b=c$\\[1ex](2)\qquad $\Delta=b^2-4ac$}\\
ccc & Physics & {(3)\qquad $F=G\frac{m_1m_2}{r^2}$\\[1ex](4)\qquad $Q=cm\Delta t$\\[1ex](5)\qquad $F=ma$\\[1ex](6)\qquad $E=mc^2$}\\
\end{tblr}
\end{table}
\end{document}