I'm having trouble aligning angle values in my document with siunitx. The numbers are only aligned properly if I don't use the \ang{}
command from siunitx. I made a small, minimum working example that shows the issue:
\documentclass[
12pt,
DIV=12,
paper=A4,
parskip=half,
]{scrreprt}
\usepackage{booktabs}
\usepackage{tabularx}
\usepackage{siunitx}
\sisetup{locale = DE}
\begin{document}
\begin{table}[h]
\caption{Align the following numbers}
\begin{tabularx}{\textwidth}{S[table-format=+2.2]}
\toprule
\textbf{Values} \\
\midrule
\ang{70,50} \\
\ang{40,50} \\
\ang{20,50} \\
\ang{-4,40} \\
\ang{0,50} \\
\bottomrule
\end{tabularx}
\label{tab:Test1}
\end{table}
\begin{table}[h]
\caption{Align the following numbers}
\begin{tabularx}{\textwidth}{S[table-format=+2.2]}
\toprule
\textbf{Values} \\
\midrule
70,50 \\
40,50 \\
20,50 \\
-4,40 \\
0,50 \\
\bottomrule
\end{tabularx}
\label{tab:Test2}
\end{table}
\end{document}