LaTeX forum ⇒ Graphics, Figures & Tablesremove space between merged rows

Information and discussion about graphics, figures & tables in LaTeX documents.
amshahraki
Posts: 1
Joined: Thu Jul 11, 2019 8:03 am

remove space between merged rows

Postby amshahraki » Thu Jul 11, 2019 8:08 am

I am trying to change the color of rows in a longtable latex. The problem is that, I have merged some rows but when I change the background color of cells there is a space between merged rows which is white. You can see it in screenshot.
Here is the code of my header

  1. \begin{scriptsize}
  2.  
  3. \setlength\tabcolsep{5pt}
  4.  
  5.  
  6.  
  7. \begin{longtable}{|l|l|l|l|l|l|l|l|l|l|l|l|l|l|l|l|l|l|l|l|l|l|l|l|l|}
  8.  
  9.  
  10.  
  11.  
  12. \caption{Clustering Techniques}
  13. \label{clusteringtechs}
  14.  
  15. \hline
  16. \multirow{2}{*}{\#} &
  17. \multirow{2}{*}{\begin{tabular}[c]{@{}l@{}}Clustering\\ Technique\end{tabular}} & \multirow{2}{*}{Year} & \rotatebox{90}{\multirow{2}{*}{\begin{tabular}[c]{@{}l@{}}Support\\Heterogeneity\end{tabular}}} &
  18. \multicolumn{2}{c|}{\begin{tabular}[c]{@{}c@{}}Role\\ of\\ CH\end{tabular}}&\rotatebox{90}{\centering \multirow{2}{*}{Routing}} &
  19. \rotatebox{90}{\multirow{2}{*}{\begin{tabular}[c]{@{}l@{}}support\\Mobility\end{tabular}}} & \multicolumn{17}{c|}{Objectives} \\ \cline{5-6} \cline{9-25}
  20. & & & & \rotatebox{90}{Relay} & \rotatebox{90}{Fusion} & & & E & L & R & D & J & T & Y & P & C & O & F & B & A & M & S & U & H \\ \hline
  21. \endhead
  22. \toprule


Image

Return to “Graphics, Figures & Tables”

Who is online

Users browsing this forum: No registered users and 8 guests