0

After attempts with little success, I can't seem to achieve the table depicted by the image below. The image demonstrates the format I wish to achieve, to which I will add more columns and rows to eventually. If someone can point me in the right direction, that would be highly appreciated!

enter image description here

  • Pretty simple, because all text is on one horitontal line. Use \multicolumn, that's all ... – user2478 Nov 8 '18 at 12:24
3

Enjoy (though all those rules don't look good):

\documentclass[]{article}

\newcommand\mc{\multicolumn}

\begin{document}
\begin{tabular}[]{|ll|*6{c|}}
  \cline{3-8}
  \mc{1}{l}{}&&\mc{3}{|c|}{Col 1}&\mc{3}{c|}{Col 2}\\
  \cline{3-8}
  \mc{1}{l}{}&& \mc{1}{c}{C} & \mc{1}{c}{NC} & \mc{1}{c|}{SR} 
              & \mc{1}{c}{C} & \mc{1}{c}{NC} & \mc{1}{c|}{SR} \\
  \hline
    & Ex 1 &&&&&&\\
  \cline{3-8}
  Row 1& Ex 2 &&&&&&\\
  \cline{3-8}
    & Ex 3 &&&&&&\\
  \hline
    & Ex 1 &&&&&&\\
  \cline{3-8}
  Row 2& Ex 2 &&&&&&\\
  \cline{3-8}
    & Ex 3 &&&&&&\\
  \hline
    & Ex 1 &&&&&&\\
  \cline{3-8}
  Row 3& Ex 2 &&&&&&\\
  \cline{3-8}
    & Ex 3 &&&&&&\\
  \hline
\end{tabular}
\end{document}

enter image description here

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.