请问一下如何使用 tabularray 宏包实现第一行居中对齐,第一列(除第一行外)左对齐呢?
MWE 如下。
\documentclass{ctexart}
\usepackage[a4paper,margin=0.5in]{geometry}
\usepackage{tabularray}
\usepackage{pifont}
\newcommand{\whiteding}[1]{\ding{\numexpr171+#1\relax}}
\newcommand{\blackding}[1]{\ding{\numexpr181+#1\relax}}
\newcommand{\whitedingB}[1]{\ding{\numexpr191+#1\relax}}
\newcommand{\blackdingB}[1]{\ding{\numexpr201+#1\relax}}
\begin{document}
\begin{table}
\centering
\caption{自定义命令}
\begin{tblr}{verb,lc}
\hline\hline
命令 & 结果 \\
\hline
\verb|\whiteding{8}| & \whiteding{8} \\
\verb|\blackding{8}| & \blackding{8} \\
\verb|\whitedingB{8}| & \whitedingB{8} \\
\verb|\blackdingB{8}| & \blackdingB{8} \\
\hline\hline
\end{tblr}
\end{table}
\end{document}
谢谢!
谢谢!