\begin{tabular}
Some very wide table
\end{tabular}
我可以在不重複調整字體大小的情況下縮放該物件嗎?
答案1
\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}