Dear experienced friends,
I met a strange bug when I tried to draw a table. As shown in the picture, I wish I can make all the columns 4,5,6,1,2,3 evenly distributed. However, the width of 6 is always larger than others. May I ask why this bug happens, and how can I fix it? Thank you!
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[table]{xcolor}
\usepackage{array}
\usepackage{multirow}
\usepackage{graphicx}
\usepackage{booktabs}
\usepackage{tabularx}
\begin{document}
\setlength{\heavyrulewidth}{1.2pt}
\setlength{\abovetopsep}{2pt}
\setlength\extrarowheight{2pt}
\begin{table}[htbp!]
\centering
\scalebox{1}{
\begin{tabular}{c c c c @{\extracolsep{0.2cm}} c c c}
\toprule
\multirow{2}{4em}{} & \multicolumn{3}{c}{Cubic Height Height} & \multicolumn{3}{c}{Width Width}\[1ex]
\cmidrule{2-4}
\cmidrule{5-7}
Model & 4 & 5 & 6 & 1 & 2 & 3 \ [1ex]
\midrule
A & 0 & 0 & 0 & 0 & 0 & 0 \
B & 0 & 0 & 0 & 0 & 0 & 0 \
C & 0 & 0 & 0 & 0 & 0 & 0 \
\bottomrule
\hline
\end{tabular}}
\caption{Comparison}
\label{table 2}
\end{table}
\end{document}
( I also tried \begin{tabular}{p{3.2cm} p{0.8cm} p{0.8cm} p{0.8cm} @{\extracolsep{0.15cm}} p{0.8cm} p{0.8cm} p{0.8cm}}, but it didn't work. )


tabularray) – user202729 Dec 18 '21 at 16:20