I have two tables with different number of columns, and they are too wide to fit in. So I used \resizebox to fit them within linewidth, but the fonts in these two tables are also scaled. Is there a way to keep font size the same in two tables and fit them within the linewidth.
\begin{table*}[!t]
\centering
\resizebox{\linewidth}{!}{
\begin{tabular}{@{}ccccccccccccccccccccc@{}}
\toprule
Hello & World & 0.01 & 0.02 & 0.03 & 0.04 & 0.05 & 0.06 & 0.07 & 0.08 & 0.09 & 0.01 & 0.02 & 0.03 & 0.04 & 0.05 & 0.06 & 0.07 & \\
\bottomrule
\end{tabular}
}
\end{table*}
\begin{table*}[t!]
\centering
\resizebox{\linewidth}{!}{
\begin{tabular}{@{}cccccccccccccccccccccccc@{}}
\toprule
Hello & World & 0.01 & 0.02 & 0.03 & 0.04 & 0.05 & 0.06 & 0.07 & 0.08 & 0.09 & 0.01 & 0.02 & 0.03 & 0.04 & 0.05 & 0.06 & 0.07 & 0.08 & 0.09 & 0.10 \\
\bottomrule
\end{tabular}
}
\end{table*}



[!t]on the table? that makes it rather more likely to float to the end of the document. – David Carlisle Mar 10 '18 at 08:36\topruleis not defined by default) – David Carlisle Mar 10 '18 at 08:39