I've got a longish sidewaystable which currently is to large for its page. At least with \footnotesize
it is. With \scriptsize
it becomes too small, which looks strange and is hard to read.
Is there some way to (semi-)automatically scale a table to best fit the page?
I'm thinking about some package which iteratively adjusts font sizes, or which does a magnification of a single box, or some such. Lacking an automated solution, what's the best way to adjust font sizes to a without too much trouble? I'd like to keep the header unscaled, and the caption as well if possible.
\resizebox{\linewidth}{!}{\begin{tabular...
\catcode`-=13\def-{$\dotdiv$}
nested as\begingroup\catc…\begin{table}…\end{table}\endgroup
. Plugging all of that into a\resizebox
gives me some error about\inaccessible
. Seems the change is not local enough. If everything else fails, I'll use a mass search and replace to avoid this redefinition of-
, but that would make my code less readable than it is now. Not sure how I feel about that.\scriptsize
is appropriate for the (non-)importance of the data in this table. I have mixed feeling about using yet another page on this data, particularly as the resulting pages would seem rather empty since I can't make the font much larger due to the number and width of the columns I need.table
environment into the\resizebox
(also you don't need/shouldn't use\begingroup
there just put the catcode changes inside thetable
environment..