1

How can I create a table like this in latex? It is included multirow and multicolumn.enter image description here

2
  • Welcome to TeX.SX! Your post was migrated here from another Stack Exchange site. Please register on this site, too, and make sure that both accounts are associated with each other (by using the same OpenID), otherwise you won't be able to comment on or accept answers or edit your question. Aug 21, 2013 at 20:23
  • 1
    The documentation of the multirow package contains some examples to start with. For good construction of the partial rules, see the booktabs package. Your question would be greatly improved by including your attempt to code such a table. Aug 22, 2013 at 6:19

1 Answer 1

1

MEW

\documentclass{article}
\usepackage{array}
\usepackage{booktabs}
\usepackage{multirow}
\begin{document}
\begin{tabular}{>{\centering}p{3cm}>{\centering}p{0.3\textwidth}>{\centering}p{0.3\textwidth}}
\toprule
One  & Two & Tree\tabularnewline
\midrule
\multirow{6}{3cm}{This is a multirow cell for some long text that you want expand in
six rows} & \multicolumn{2}{l}{This is a multicolumn cell}\tabularnewline
\cmidrule{2-3} 
 & x1 & x2\tabularnewline
 & x4 & x5\tabularnewline
 & \multicolumn{2}{l}{Another multicolum cell}\tabularnewline
\cmidrule{2-3} 
 & x1 & x2\tabularnewline
 & x4 & x5\tabularnewline
\bottomrule 
\end{tabular}
\end{document}

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .