I am looking for help regarding number alignment along the decimal point.
Here is the code that I use so far:
\documentclass{article}
\usepackage{etoolbox, siunitx}
\usepackage{booktabs,makecell}
\sisetup{input-symbols = {()},
group-digits = false,
table-sign-mantissa,
table-space-text-post = *,
parse-numbers=false,
detect-weight=true,
detect-shape=true,
detect-mode=true
}
\begin{document}
\begin{table*}[]
\robustify\bfseries
\caption{My-caption}
\centering
\setlength{\tabcolsep}{8pt}
\begin{tabular}{@{} S[table-format=4.4, detect-all] lS[table-format=4.4,
detect-all]>{\bfseries} S[table-format=4.4, detect-weight] S[table-
format=4.4, detect-weight] @{}}
\toprule
&\multicolumn{1}{c}{{Low}} & & \multicolumn{1}{c}{Med} \\ \midrule
MV & 1.64 & 1.14 & 1.58 \\
& (1.17) & (0.97) & (0.87) \\
AG & 2.61 & 1.36 & 1.07 \\
& (1.17) & (0.88) & (0.64) \\
BM & 2.08 & 1.14 & 0.44 \\
& (0.98) & (0.86) & (0.29) \\
MOM & 0.74 & 0.28 & -0.34 \\
& (0.31) & (0.12) & (-0.17) \\
TA & \bfseries 1.90 & 1.03 & 0.88 \\
& (1.63) & (1.75) & (1.06) \\
\Xhline{3\arrayrulewidth}
\end{tabular}
\end{table*}
\end{document}
And here is the output:
I want the numbers to be aligned by decimal point, but want to highlight some of them in bold without having the alignment crashed like this.
\usepackage{makecell}
oterwise\Xhline
is not reconized.