I am creating a table and am aligning the numbers in the column with the package \dcolumn. In "normal" cases this works, but not if I add parenthesis.
This is a minmal example that shows my problem:
\documentclass[a4paper,12pt,numbers=noenddot,fleqn]{scrreprt}
\usepackage{dcolumn}
\begin{document}
\begin{table}[htb]
\centering
\begin{tabular}{lD{.}{.}{3}l}
0 & 100(1) & 0.80(6) \\
1 & 71.9(8)& 0.797(6)\\
2 & 7.8(6) & 0.788(6)\\
\end{tabular}
\end{table}
\end{document}
Is there a way I can align the integer in the middle row aswell?
Some things I tried:
- Chancing the "3" in the line with \begin{tabular} to different integers
- using \rlap()
- following some incomplete instructions given here: RevTeX-4.2 and dcolumn : align decimal with integer numbers
...but obviously nothing worked... Thank you!