
非常に長い行のテーブルと列のテーブルがあり、 adjustbox
パッケージを使用してこれらのテーブルのサイズを変更します。
しかし、他の表は完全に正常に機能していますが、一部の表は論文とは異なる大きなフォントになっています。表のフォント サイズが大きくなる理由がわからないため、助けが必要です。
長いテーブルの場合、次のように記述します。
\begin{table}[h]
\caption{}
\label{}
\vspace{0.3cm}\centering\begin{adjustbox}{width=\textwidth}
\begin{tabular}
\end{tabular}
\end{adjustbox}
通常のテーブルの場合は次のようになります。
\begin{table}[h]
\caption{}
\label{}
\vspace{0.3cm}\centering
\begin{tabular}
\end{tabular}
\end{table}
\end{table}
答え1
私のコメントを例証すると:
\documentclass{article}
\usepackage{adjustbox}
\begin{document}
\begin{table}[h] \caption{test caption} \vspace{0.3cm}
\sbox0{\begin{tabular}{c}
a very small tabular
\end{tabular}}%
\ifdim\wd0>\textwidth
\adjustbox{width=\textwidth}{\usebox0}
\else
\centering
\usebox0
\fi
\end{table}
\end{document}