I have a table that I want a little smaller to save some space. What environment can I put in it to reduce the whole table?
Use \resizebox :
\resizebox
\resizebox{3cm}{!}{ \begin{something} something \end{something} }
! LaTeX reports keep aspect ratio. You can also scale the y direction differently by specifying a value there.
!
\begin{table}[tch] \caption{foo} \begin{tabular}{lll} \hline \footnotesize{ foo&foo&foo\\ foo&doo&fofo\\ }\\\hline \end{tabular} \label{foo} \end{table}
Scaling elements containing text is not really a good idea (see https://tex.stackexchange.com/questions/425453/why-not-scale-elements-that-contain-text for more information), so here are two other approaches How to reduce the size of the table:
\addtolength{\tabcolsep}{-1pt}
\small
\fontsize{9.5pt}{10.25pt}\selectfont
\documentclass{article} \usepackage{lipsum} \begin{document} Reducing the inter column spacing a bit: \begin{table}[htbp] \addtolength{\tabcolsep}{-1pt} \begin{tabular}{lll} \hline some text some text & some text some text & some text some text some text\\ \hline \end{tabular} \end{table} \lipsum[2] Smaller font size: \begin{table}[htbp] \small \begin{tabular}{lll} \hline some text some som text & some text some text & some text some text some text\\ \hline \end{tabular} \end{table} \end{document}
"" Ddd
'''This is an example:
'''\resizebox{6cm}{!} '''{ '''% here is the table content. '''} '''%\caption{Versiones a comparar.} '''\end{table}