我有这个代码
\documentclass[11pt]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage[margin=2.5cm]{geometry} % showframe
\usepackage{multirow}
\usepackage{multicol}
\usepackage{tabularx}
\usepackage{caption}
\usepackage{booktabs}
\usepackage{amsmath}
\usepackage{mathtools}
\usepackage{siunitx}
\usepackage[skip=0.33\baselineskip]{caption}
\captionsetup[table]{
font=bf,
size=normalsize,
justification=centerlast,
labelsep=newline
}
\renewcommand\thetable{\Roman{table}}
\begin{document}
\def\arraystretch{1.5}
\begin{table}[h]
\centering
\setlength\tabcolsep{0pt}
\sisetup{table-format=2.2, group-separator={,}, group-minimum-digits=4}
\caption{\large{Header}}
\label{table:fundsummary}
\parbox{\linewidth}{\small{This table presents some very interesting and very fancy data, which I expect will provide me with at least two Nobel prizes.}\vspace{2ex}}
\medskip\small\begin{tabular*}{\linewidth}{@{\extracolsep{\fill}}
l
S[table-format=-2.2]
*{7}{S}
}
\toprule
\multicolumn{1}{c}{\multirow{2}{*}{Description}}&
\multicolumn{1}{c}{\multirow{2}{*}{Variable}}&
\multicolumn{5}{c}{Averages}\\\cmidrule{3-7}
\multicolumn{2}{c}{}&{p-value}&{Factor 1}&{Factor 2}&{Factor 3}&{Factor 4}\\\midrule
Section 1.1 &11.11 &22.22{***} &33.33 &44.44 &55.55 &66.66\\\midrule
Section 1.2 &11.11 &(22.22){***} &33.33 &44.44 &55.55 &66.66\\
Section 1.3 &11.11 &22.22{***} &33.33 &44.44 &55.55 &66.66\\
Section 1.4 &11.11 &(22.22){***} &33.33 &44.44 &55.55 &66.66\\
\bottomrule
\end{tabular*}
\end{table}
\end{document}
产生这个输出
我有一张表格,其中我将 t 统计量放在括号中,并用一组星号表示重要性水平。当 t 统计量不在括号中时,它工作正常,否则会返回错误。使用 siunitx 包是否可以对同一值同时使用括号和星号?提前致谢!