Imagine that I have a wide table that does not fit into page:
\begin{tabular}
Some very wide table
\end{tabular}
Can I scale this object without recurring to adjusting the font size?
Imagine that I have a wide table that does not fit into page:
\begin{tabular}
Some very wide table
\end{tabular}
Can I scale this object without recurring to adjusting the font size?
\documentclass[]{article}
\begin{document}
\resizebox{\textwidth}{!}{%
\begin{tabular}{|c|c|}
\hline
a & b \\
\hline
c & d \\
\hline
\end{tabular}
}
\resizebox{2cm}{!}{%
\begin{tabular}{|c|c|}
\hline
a & b \\
\hline
c & d \\
\hline
\end{tabular}
}
\end{document}
\resizebox{width}{height}{object} The ! mean that scale height anong with the width.
– sergiokapone
Feb 12 '18 at 11:24