I am using overleaf. I have a wide table. I use \resizebox to keep it in line width. However, the font become very small. How can I enlarge the font and the height of each row, So that the width and height are both appropriately adjusted.
\begin{table}[t]
%\LARGE
\caption{names}
\label{tab: table 1}
\resizebox{\textwidth}{!}{
\begin{tabular}{cccccccc}
\toprule
Modularity Class & 0 & 1 & 2 & 3 & 4 & 5 & 6 \
\midrule
\hline
1 & CANADA & COVID & SOCIALDISTANCING & PANDEMIC & TRUMP & UK & COVID19 \ \hline
2 & AUSPOL & CHINA & QUARANTINE & NEWS & USA & COVID19UK & CORONAVIRUS \ \hline
3 & CDNPOLI & VACCINE & MASKS & HEALTHCARE & WEARAMASK & LONDON & COVID_19 \ \hline
4 & COVID19AUS & HEALTH & MASK & ECONOMY & COVIDIOTS & CORONAVIRUSUK & LOCKDOWN
\end{tabular}
}
\end{table}


\fbox{ x }not like\fbox{x}– David Carlisle Jul 07 '21 at 06:42