表形式のテーブル名の配置 (\documentclass = IEEEtran conference)

表形式のテーブル名の配置 (\documentclass = IEEEtran conference)

次のコードを使用しています:

\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}

そして次の結果が得られました:

ここに画像の説明を入力してください

「表 I」の上部が上記と交差していることに注意してください\hline

「TABLE I」をテーブルと交差しないように少し下げるにはどうすればよいですか?

答え1

使用

\makeatletter
\def\@IEEEtablestring{figure}
\makeatother

この方法では、図の場合と同じスペースの定義を表に使用します。

答え2

\usepackage{subcaption}これを生成するには、単に の後にを置く必要があります\documentclass...:

\documentclass[10pt, conference, a4paper]{IEEEtran}
\usepackage{subcaption}
\begin{document}
%...

結果: ここに画像の説明を入力してください

関連情報