swathesis icon indicating copy to clipboard operation
swathesis copied to clipboard

swth breaks `table-number-alignment` of siunitx

Open LinqLover opened this issue 5 months ago • 5 comments

MWE:

\documentclass{swathesis}
%\documentclass{scrbook}

\usepackage{tabularray}
\UseTblrLibrary{siunitx}

\begin{document}

\begin{table}
\begin{tblr}{
    |
    X[si={table-alignment-mode=format,table-number-alignment=right}]
    |
    X[si={table-alignment-mode=format,table-number-alignment=center}]
    |
    X[si={table-alignment-mode=format,table-number-alignment=left}]
    |
}
    1.1 & 2.2 & 3.3 \\
\end{tblr}
\caption{Foo}
\end{table}

\end{document}

image

The alignment options are ignored.

If I use scrbook instead, it works:

image

Any idea why this happens or how I can solve this?

LinqLover avatar Sep 17 '24 23:09 LinqLover