\begin{table}[h]
\begin{center}
\caption{ Comparison of Maximum Accuracy of Different Methods on BCI comp III dataset IIIa
}\label{tab:2}
\begin{tabular}{c c c c c c}
\hline
% after \\: \hline or \cline{col1-col2} \cline{col3-col4} ...
$Feature Extraction^a$ & $Classifier^b$ & & Accuracy(\%) & & \\
\hline
& & K3 & K6 & L1 & $mean^c$ \\
AAR & MDA[9] & 66.6 & 38.5 & 49.5 & 51.5 \\
CAR+CSP & NN[10] & 81.7 & 76.7 & 73.3 & 77.2 \\
Barlow method & SVM[11] & 63.3 & 45.0 & 60.0 & 56.1 \\
WPD & ME[12] & 90.4 & 66.0 & 79.6 & 78.7\\
WPD+CSP & SVM+NN[13] & 83.1 & 84.4 & 85.6 & 84.4 \\
PLV & SVM+Quicksort[14] & 86.0 & 82.0 & 77.0 & 81.7 \\
Sparse PCA+Sparse CSP & SVM[15] & 85.1 & 81.6 & 80.1 & 82.3 \\
STFT+CSP & SVM[16] & 71.3 & 88.1 & 71.2 & 76.9\\
\hline
4 band CSP (our method)& SVM & 93.3 & 77.5 & 85.8 & 85.5\\
\hline
\end{tabular}
\end{center}
\end{table}
[Tex/LaTex] how to set this table in IEEE paper
ieeetrantables
Best Answer
Your table has a number of serious issues. The fact that it is wider than
\columnwidth
is just the most serious one.To make the table fit inside the text block, it suffices to (a) set the parameter
\tabcolsep
to0pt
and (b) switch from atabular
to atabular*
environment. Armed with the@{\extracolsep{\fill}}
directive, thetabular*
environment will reduce the intercolumn whitespace as much as is needed to make the table fit.If the table were any wider, one would also have to introduce line breaks in some of the cells in the two text columns. However, that doesn't seem to be necessary here.
The table's layout is -- pardon my bluntness -- quite unattractive. I suggest you (a) load the
booktabs
package, (b) use its line-drawing macros instead of\hline
, and (c) provide more deliberate structure to the header material. For instance, to center the string "Accuracy (\%)" above the four data columns, encase it in amulticolumn{4}{c}{...}
directive.It looks like you're trying to create some in-table footnote markers. Whatever else you do, don't abuse TeX's math mode in this way. I suggest you (a) load the
threeparttable
package, (b) use\tnote
directives to place the footnote markers, and (c) use atablenotes
environment after\end{tabular*
to place the corresponding footnote material.In one of the header cells, replace the odd-looking
fi
withfi
.