.png)
我正在使用以下程式碼:
\documentclass[10pt, conference, letterpaper]{IEEEtran}
\begin{document}
\begin{table}
\begin{tabular}{|c|c|c|c|}
\hline
Algorithm & Space & Query / Update time & Some other metric \tabularnewline
\hline
\hline
A & 1 & 1 & 11 \tabularnewline
\hline
\end{tabular}
\caption{Why like this?}
\end{table}
\end{document}
並得到以下結果:
請注意,「TABLE I」的頂部與上面的相交\hline
。
我怎麼能讓“TABLE I”下降一點,這樣它就不會與桌子相交?
答案1
使用
\makeatletter
\def\@IEEEtablestring{figure}
\makeatother
透過這種方式,您可以對表格和圖形使用相同的空間定義。