I want to obtain a table like the one in my attachment.
Then I tried to use \hhline
to draw horizontal lines. But I still have a problem about breaking lines automatically.
The one that I want to have
The bad one
\documentclass[12pt, a4paper,twoside]{article}
\usepackage{multirow,booktabs}
\usepackage{colortbl,multirow,hhline,mathtools}
\usepackage{makecell}
\begin{document}
\definecolor{c1}{rgb}{0.30980, 0.50588, 0.73725}
\definecolor{c2}{rgb}{0.82353, 0.87843, 0.92941}
\setlength{\arrayrulewidth}{1pt}
\setlength{\extrarowheight}{1.0pt}
\begin{table}[H] % added on 12172013 for caption and label
\centering
\caption{Table}
\label{tb32b}
\arrayrulecolor{white}
\begin{tabular}{|p{4.5em}|p{7cm}|p{3.8cm}|l|}
\rowcolor{c1}
\multirow{4}*{\textcolor{white}{Measure}}
& \multicolumn{2}{l|}{\multirow{4}*{\textcolor{white}{Description}}} &
\multirow{4}*{\textcolor{white}{NO.}} \\
\hline
\arrayrulecolor{white}
\rowcolor{c2}
\multirow{4}*{\parbox[t]{4.5em}{Orientation-based}} & \multicolumn{2}{p{11.25cm}|}{The first orientater of empty bins in the rose plot.} & \multirow{2}*{$M_8$} \\
\hhline{|>{\arrayrulecolor{c2}}-|>{\arrayrulecolor{white}}-|>{\arrayrulecolor{white}}-|>{\arrayrulecolor{white}}-|}% \hhline hack
\rowcolor{c2}
& \multicolumn{2}{p{11.25cm}|}{The second one is defined in the orientations of the delta points.} & \multirow{2}*{$M_9$} \\
\hline
\rowcolor{c2}
\multirow{4}{4.5em}{Pair-based} & Equ1 & \multirow{4}*{\parbox[t]{3.8cm}{The first orid measure is the number of empty bins in the rose plot, The first orased measure is the number of empty bins in the rose plot.}} & \multirow{4}*{$M_{10\_13}$} \\
\hhline{|>{\arrayrulecolor{c2}}-|>{\arrayrulecolor{white}}-|>{\arrayrulecolor{c2}}-|>{\arrayrulecolor{c2}}-|}% \hhline hack
\rowcolor{c2}
& Equ2 & & \\
\hhline{|>{\arrayrulecolor{c2}}-|>{\arrayrulecolor{white}}-|>{\arrayrulecolor{c2}}-|>{\arrayrulecolor{c2}}-|}% \hhline hack
\rowcolor{c2}
& Equ3 & & \\
\hhline{|>{\arrayrulecolor{c2}}-|>{\arrayrulecolor{white}}-|>{\arrayrulecolor{c2}}-|>{\arrayrulecolor{c2}}-|}% \hhline hack
\rowcolor{c2}
& Equ4 & & \\
\hline
\end{tabular}
\end{table}
\end{document}
sdafdsafasdfdsafasdfdsfasdfdsafdsafdsafasdfdsafasdfasdfsadfasdfsadfsadfasdfdsafdsafdsafdasfdsafdsafasdfasdfsadafdas
presumably your real example has word spaces or something that may be hyphenated?! Undefined control sequence. l.3 \definecolor
doesn't really make it easy for anyone to help you.