-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
swth breaks table-number-alignment
of siunitx
#64
Comments
Strange. we're not even touching siuntix in this class… Logs? |
Here is the logs, but I find them quite overwhelming :D Details
|
Here's your culprit: %\documentclass{swathesis}
\documentclass{scrbook}
\usepackage[table]{xcolor}
\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} |
Mabye file an issue at https://github.com/lvjr/tabularray ? |
Awesome, how did you find this? I have further narrowed this down to So I can work around this by doing the following before loading the documentclass: \RequirePackage[svgnames,dvipsnames*,x11names]{xcolor} |
MWE:
The alignment options are ignored.
If I use
scrbook
instead, it works:Any idea why this happens or how I can solve this?
The text was updated successfully, but these errors were encountered: