
\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의 의견에서 이미 완료되었음을 깨달았습니다.