I'm trying to fit a table to the page width. I'm using the adjustbox package:
\documentclass[letterpaper]{report}
\begin{document}
\begin{adjustbox}{width=0.8*\the\textwidth}
\input{tables/table_2_increasingPolishingHardness}
\end{adjustbox}
The output is a table that is still too wide for the page, but with the text 'width=0.8*497.92322pt' printed just above the table.
Why is the width parameter being printed and not evaluated?
Thanks!
\begin{adjustbox}{width=0.8\textwidth}. However I would strongly adwise against using an adjustbox to fit a table to the textwidth (causes inconsistent font size...). Instead improve or redesign the table itself. – leandriis Mar 23 '18 at 20:07