I have the following table, with the decimal aligning handled by siunitx
(MWE):
\documentclass{scrartcl}
\usepackage{booktabs}
\usepackage{multirow}
\usepackage{siunitx}
\sisetup{
detect-mode,
group-digits = false,
input-symbols = ( ) [ ] - +,
table-align-text-post = false,
input-signs = ,
decimalsymbol=comma,
locale = DE,
} \usepackage{siunitx}
\begin{document}
\begin{table}
\centering
\begin{tabular}{ccS[table-format = 2.8]S[table-format = 2.8]}
\toprule
& Parameter & {Estimate} & {Standard Error} \\
\midrule
EUR/USD model & $\hat \sigma_{X}$ & 0,0315 \\
[\defaultaddspace]
\multirow{4}{*}{GBP/USD model} & $\hat \omega$ & 0,000050 & 0,000045 \\
& $\hat \alpha_{Y}$ & 0,0860 & 0,0454 \\
& $\hat \beta_{Y}$ & 0,8585 & 0,0838 \\
& $\hat \nu$ & 7,6367 & 2,4094 \\
\bottomrule
\end{tabular}
\end{table}
\end{document}
This gives me:
What I would like is for the entries in the "Estimate" and "Standard Error" columns to be centered under the column titles (with the decimals still aligned properly). I suspect that I have to change the table-format
but I haven't been able to figure out the right options.
Thanks!
Best Answer
If you want the decimal marker placed at the center of the column -- and generate lots of wasted whitespace to the left of the leading digit -- then specify a symmetric
table-format
option, e.g.,table-format = 6.6
.I think the table looks much better if you set
table-format = 1.6
: