I have two tables. One has more columns and the other one has very few. Now the problem is that the font size is not the same.
Here is table one includes lots of data:
%-------------------------------------------
\begin{table}[H]
\begin{adjustbox}{width=1\textwidth}
\begin{tabular}{|l|l|l|l|l|l|l|}
\hline
\rowcolor[HTML]{ECF4FF}
Treatment & Estimate. Mean in group Faunus control & Estimate. Mean in group Faunus with Tannin & p-value & statistic.t & conf.int1 & conf.int2 \\ \hline
p6\_gallic\_acid & 1.199 & 0.460 & 0.003 & 3.463 & 0.29 & 1.185 \\ \hline
p11\_di\_galloylglucose\_ester & 1.037 & 0.419 & 0.006 & 3.127 & 0.204 & 1.032 \\ \hline
p22\_tri\_galloylglucose\_ester & 0.370 & 0.187 & 0.026 & 2.369 & 0.024 & 0.342 \\ \hline
p28\_tetra\_galloylglucose\_ester & 0.665 & 0.220 & 0.003 & 3.387 & 0.170 & 0.720 \\ \hline
\end{tabular}
\end{adjustbox}
\caption{T-test}
\label{Table:6.24}
\end{table}
%-------------------------------------------
the second table is comparatably small:
%-------------------------------------------
\begin{table}[H]
\tiny
\begin{adjustbox}{width=1\textwidth}
\begin{tabular}{|l|l|}
\hline
\rowcolor[HTML]{ECF4FF}
Material & p \\ \hline
p6\_gallic\_acid & 0.003 \\ \hline
p11\_di\_galloylglucose\_ester & 0.02 \\ \hline
p22\_tri\_galloylglucose\_ester & 0.01 \\ \hline
p28\_tetra\_galloylglucose\_ester & 0.02 \\ \hline
\end{tabular}
\end{adjustbox}
\caption{Wilcoxon test}
\label{Table:6.25}
\end{table}
%-------------------------------------------
That is what they look like. It is clearly seen that they fit with the screen properly, However, they do not have the same font in size.
Can someone please help me to solve this issue? I want a table where they will both fit with the screen and they both have same font size.
\begin{adjustbox}
\small
or\footnotesize
also fix the headings so they are multi-line and not making the column widths so much wider than the data.