
\documentclass[journal]{IEEEtran}
\usepackage{booktabs, makecell}
\usepackage{siunitx}
\begin{document}
\begin{table*}[!htbp]%[H]
\centering
\caption{{Overall performance evaluation}}
\label{Tab:OPT}
% \scalebox{0.9}[0.9]{
\begin{tabular}{cccccccccc}
\toprule
\multirow{2}{*}{\textbf{Performance evaluation}}& \multicolumn{4}{c}{\textbf{Case study I}& \multicolumn{4}{c}{\textbf{Case study II}} \\
\cmidrule{2-8}
& \textbf{ANN}
& \textbf{LSTM}
& \textbf{CRBM}
& \textbf{FCRBM}
& \textbf{ANN}
& \textbf{LSTM}
& \textbf{CRBM}
& \textbf{FCRBM}\\
\midrule
Computational complexity (level) & {Low} & {High} & {Moderate} & {Moderate} & {Moderate}& {High} & {Moderate} & {Moderate} \\
\bottomrule
\end{tabular}%}
\end{table*}
\end{document}
答え1
私の知る限り、テーブルをコンパイルして同時に見栄えを良くするために必要なパッケージは、 パッケージだけですbooktabs
。
以下のソリューションでは、ヘッダー素材の上部と下部の分離を修正する\cmidrule{2-8}
ように変更しました。また、すべて削除しました。\cmidrule(lr){2-5} \cmidrule(l){6-9}
大胆なヘッダーセルから:テーブルが適切に設計され、明確なレイアウトになっている場合は、必要なし安っぽいトリックに頼る -- 例えば大胆な-- テーブルに必要な、そしてテーブルにふさわしい視覚的な魅力を与えるためです。逆に、テーブルのレイアウトが標準以下であれば、いくら選択的に太字にしてもテーブルの見た目を改善することはできません。
\documentclass[journal]{IEEEtran}
\usepackage{booktabs}
\begin{document}
\begin{table*}[!htbp]
\centering
\caption{Overall performance evaluation}
\label{Tab:OPT}
\begin{tabular}{@{} l *{8}{c} @{}}
\toprule
Performance evaluation &
\multicolumn{4}{c}{Case study I}&
\multicolumn{4}{c@{}}{Case study II} \\
\cmidrule(lr){2-5} \cmidrule(l){6-9}
& ANN & LSTM & CRBM & FCRBM
& ANN & LSTM & CRBM & FCRBM \\
\midrule
Computational complexity (level) &
Low & High & Moderate & Moderate &
Moderate & High & Moderate & Moderate \\
\bottomrule
\end{tabular}
\end{table*}
\end{document}
答え2
このコードを試してください
\documentclass[journal]{IEEEtran}
\usepackage{booktabs, makecell}
\usepackage{siunitx}
\usepackage{multirow} %added
\begin{document}
\begin{table*}[!htbp]%[H]
\centering
\caption{{Overall performance evaluation}}
\label{Tab:OPT}
% \scalebox{0.9}[0.9]{
\begin{tabular}{cccccccccc}
\toprule
\multirow{2}{*}{\textbf{Performance evaluation}}& \multicolumn{4}{c}{\textbf{Case study I}}& \multicolumn{4}{c}{\textbf{Case study II}} \\
\cmidrule{2-8}
& \textbf{ANN}
& \textbf{LSTM}
& \textbf{CRBM}
& \textbf{FCRBM}
& \textbf{ANN}
& \textbf{LSTM}
& \textbf{CRBM}
& \textbf{FCRBM}\\
\midrule
Computational complexity (level) & {Low} & {High} & {Moderate} & {Moderate} & {Moderate}& {High} & {Moderate} & {Moderate} \\
\bottomrule
\end{tabular}%}
\end{table*}
\end{document}
この回答は David Carlisle 氏のコメントですでに述べられていることに気付きました。