2

Here is my code:

\documentclass{article}
\usepackage{multirow}
\begin{document}
\begin{table}[h]
\begin{tabular}{l|l|l|l|}
\cline{2-4}
 & \multicolumn{2}{|l|}{A}& B
\\ \hline
\multicolumn{1}{ |l  }{C} & \multirow {3}{*}{D} & E & F\\\cline{3-4}
&&G  & H\\\cline{3-4}
&&I& J \\\hline
\end{tabular}
\end{table}

\end{document}

Thank you.

3

I guess that you like to have something similar lie this:

enter image description here

\documentclass{article}
\usepackage{multirow}
\begin{document}
\begin{table}[h]
\begin{tabular}{|l|l|l|l|}
\cline{2-4}
\multicolumn{1}{c|}{}
    & \multicolumn{2}{c|}{A}        & B \\ \hline
C   & \multirow {3}{*}{D}       & E & F \\ \cline{3-4}
    &                           & G & H \\ \cline{3-4}
    &                           & I & J \\ \hline
\end{tabular}
\end{table}

\end{document}

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.