gpt-4o-2024-08-06· OpenAI
WildChat-4.8M (AI2)
\begin{tabular}{c ccc} \toprule \bf{Methods} & \bf{Large Metal} & \bf{Medium Metal} &…
- User
\begin{tabular}{c|ccc} \toprule \bf{Methods} & \bf{Large Metal} & \bf{Medium Metal} & \bf{Small Metal} & \bf{Average Metal} \\midrule ADN & - & - & - & -\ OCSNet & 42.41/0.9809 & 43.26/0.9892 & 45.82 / 0.9896 & 43.74 / 0.9850 \ Restormer & 46.04 / 0.9853 & 47.57 / 0.9908 & 49.97 / 0.9854 & 49.82 / 0.9896\ \textbf{SE-MARNet(Ours)} & \underline{\textbf{50.46} / \textbf{0.9898}} & \underline{\textbf{50.34} / \textbf{0.9899}} \bottomrule \end{tabular} \end{table}
我在overleaf 里面画了一个表格,我发现这个表格可视化的时候太大了, 怎么整体缩小这个表格
- Assistant
在 Overleaf 中,如果要整体缩小表格,可以通过以下几种方式:
-
减小字体大小:使用
\small或\scriptsize等命令包裹你的表格代码,使表格中的字体变小,从而达到缩小表格的效果。例如:\begin{table}[htbp] \centering \scriptsize % 或者使用 \small \begin{tabular}{c|ccc} \toprule \bf{Methods} & \bf{Large Metal} & \bf{Medium Metal} & \bf{Small Metal} & \bf{Average Metal} \\\midrule ADN & - & - & - & -\\ OCSNet & 42.41/0.9809 & 43.26/0.9892 & 45.82 / 0.9896 & 43.74 / 0.9850 \\ Restormer & 46.04 / 0.9853 & 47.57 / 0.9908 & 49.97 / 0.9854 & 49.82 / 0.9896\\ \textbf{SE-MARNet(Ours)} & \underline{\textbf{50.46} / \textbf{0.9898}} & \underline{\textbf{50.34} / \textbf{0.9899}} \bottomrule \end{tabular} \end{table} -
缩放表格:使用
\resizebox命令调整表格大小。例如,缩小到一定比例:\begin{table}[htbp] \centering \resizebox{\textwidth}{!}{% \begin{tabular}{c|ccc} \toprule \bf{Methods} & \bf{Large Metal} & \bf{Medium Metal} & \bf{Small Metal} & \bf{Average Metal} \\\midrule ADN & - & - & - & -\\ OCSNet & 42.41/0.9809 & 43.26/0.9892 & 45.82 / 0.9896 & 43.74 / 0.9850 \\ Restormer & 46.04 / 0.9853 & 47.57 / 0.9908 & 49.97 / 0.9854 & 49.82 / 0.9896\\ \textbf{SE-MARNet(Ours)} & \underline{\textbf{50.46} / \textbf{0.9898}} & \underline{\textbf{50.34} / \textbf{0.9899}} \bottomrule \end{tabular}% } \end{table}
-