I have a table developed by tabularray, but I could not find in the documentation how to align the entire table to the left to let the entire table being centered again.
This is the code:
\documentclass{article}
\usepackage{tabularray}
\usepackage[table]{xcolor}
\begin{document}
\begin{tblr}{
colspec={cccccccc},
rowspec={Q[gray!20]Q[]Q[gray!10]Q[]Q[gray!10]Q[]Q[gray!10]Q[]},
vline{2-8} = {0-1}{0.3pt,gray!50},
vline{2-8} = {2-7}{0.3pt,gray!30},
hline{1,2,8} = {0.1pt,azure5}}
Dataset & \# clusters & \# Train neurons & \# Test neurons & \# Extra neurons & Architectures & Train loss & Test loss\\
1 & Beta & Gamma & Alpha & Beta & Gamma & Beta & Gamma\\
2 & Beta & Gamma & Alpha & Beta & Gamma & Beta & Gamma\\
3 & Beta & Gamma & Alpha & Beta & Gamma & Beta & Gamma\\
4 & Beta & Gamma & Alpha & Beta & Gamma & Beta & Gamma\\
5 & Beta & Gamma & Alpha & Beta & Gamma & Beta & Gamma\\
6 & Beta & Gamma & Alpha & Beta & Gamma & Beta & Gamma\\
\end{tblr}
\end{document}
Best Answer
Your table is too large to be shown in the same line so I have two solutions for you :