Latex Table for Survey in IEEE two-column format

2 minute read

In the survey papers, authors usually put a table intending to compare the works based on particular parameters or features. Here is a simple comparison table based on tabularx in IEEE two-column latex template.

You will find the code and output in the Overleaf Document.

N.B. I am not discussing basic about latex table in this post. You can find the basic in my other post:

Preparing Tables for Publication and Documentation in Latex

Prerequisite

Include the following packages and define column type as follows:

\usepackage{graphicx}
\usepackage{tabularx,booktabs}
\usepackage{dingbat}
\usepackage{diagbox}
\newcolumntype{C}{>{\centering\arraybackslash}X}
\setlength{\extrarowheight}{1pt}

dingbat is not required if you do not use \checkmark. Similarly, diagbox is not required if you do not use the diagonal seperator in a particular column.

Table Code

The last 11 columns include the previous references and the first column is the category. You can skip the \multicolumn parts if you do not have grouping for previous papers.

\begin{table*}[!ht]
 \caption{Previous Survey Comparison}
\label{tab:comparison}
\begin{tabularx}{\textwidth}{@{}l*{15}{C}c@{}}
\toprule
Group $\rightarrow$    & \multicolumn{4}{|@{}c@{\hskip0.25in}|}{Group 1} & \multicolumn{4}{@{}c@{\hskip0.25in}|}{Group 2}  & \multicolumn{3}{@{}c@{\hskip0.25in}}{Group 3} \\ 
\midrule
\diagbox[width=7em]{Category}{Papers}  & \rotatebox[origin=c]{90}{Abcde et al.}  & \rotatebox[origin=c]{90}{Abcde et al.}  & \rotatebox[origin=c]{90}{Abcde et al.}  & \rotatebox[origin=c]{90}{Abcde et al.}  & \rotatebox[origin=c]{90}{Abcde et al.}   & \rotatebox[origin=c]{90}{Abcde et al.}  & \rotatebox[origin=c]{90}{Abcde et al.}   & \rotatebox[origin=c]{90}{Abcde et al.}  & \rotatebox[origin=c]{90}{Abcde et al.}  & \rotatebox[origin=c]{90}{Abcde et al.}  & \rotatebox[origin=c]{90}{Abcde et al.}  \\ \midrule
cat-01 & \checkmark & \checkmark  & \checkmark & x & x   & x & x & \checkmark & x & x & \checkmark \\ 
cat-02 & \checkmark & x & \checkmark & x & \checkmark  & x & \checkmark  & x  & x & x   & \checkmark \\ 
cat-03 & \checkmark & x & x & \checkmark & x & x  & \checkmark & x & x & x & \checkmark\\ 
% \addlinespace
cat-04 & x & x  & \checkmark & \checkmark & x  & \checkmark & x & \checkmark & x & x & \checkmark \\ 
cat-05 & x & \checkmark  & x & \checkmark & x & x & \checkmark & x  & \checkmark  & x & x \\ 
cat-06 & x & x  & x  & \checkmark & x  & x  & x & \checkmark  & x    & x   & x  \\ 
cat-07 & x  & x  & \checkmark  & x  & x   & \checkmark & x & x  & \checkmark & x  & x \\ 
cat-08 & x & \checkmark & \checkmark & \checkmark & x   & \checkmark & x & \checkmark & x  & \checkmark & x \\ 
\bottomrule
\end{tabularx}
\end{table*}

Output

The output is as follows:

Once again, you will find the code and output in the Overleaf Document.

References

Leave a Comment