[Tex/LaTex] Table with a tick, horizontal text and multiple vertical and horizontal columns

multicolumnmultirowtablesvertical alignment

I am trying to draw a table like this using IEEE trans template. I don't even know where to start. Any suggestions?enter image description here

Best Answer

Using the online LaTeX Table Generator with a few clicks you can do this:

enter image description here

This is the best I can do in the site. Then moving the generated code to LaTeX, we can do a few modifications to get the code below.

Update

I incorporated Mico's suggestion of the \extrarowheight, I also added a \phantom{.} after the NB to get a gap between the B and the horizontal rule.

\documentclass{article}
\usepackage{multirow} % For multirows
\usepackage{amssymb} % For the checkmark
\usepackage{graphicx} % For the rotation
\usepackage{array} % To enlarge the vertical space of the table's contents
\begin{document}
\begin{table}[]
 \setlength\extrarowheight{2pt}
 \centering
 \caption{My caption}
 \label{my-label}
 \begin{tabular}{l|l|l|l|l|l|l|l|l|l|l|}
  \cline{2-11}
  \multirow{2}{*}{}                            & \multirow{2}{*}{Suggestions} & \multicolumn{9}{c|}{Other side}   \\ \cline{3-11} 
                                             &                   &   &  &   &   &   & \rotatebox{90}{NB\phantom{.}} &   &   &   \\ \hline
  \multicolumn{1}{|l|}{\multirow{4}{*}{\rotatebox{90}{Based}}} &                   &   &  &   &   &   &    & \checkmark & \checkmark &   \\ \cline{2-11} 
  \multicolumn{1}{|l|}{}                       & Your Answer       &   &  & \checkmark &   & \checkmark & \checkmark  &   &   & \checkmark \\ \cline{2-11} 
  \multicolumn{1}{|l|}{}                       &                   & \checkmark &  &   & \checkmark &   &    &   &   &   \\ \cline{2-11} 
  \multicolumn{1}{|l|}{}                       &                   & \checkmark &  &   &   &   &    &   &   &   \\ \hline
 \end{tabular}
\end{table}
\end{document}

Which produces:

enter image description here

Now you can play changing the l alignment characters to p{} and get different column widths, but this I'll leave up to you ;)

Related Question