Possible Duplicate:
How to create alternating rows in a table?
I am working on colored table but i need make alternate table colorful.
\documentclass[11pt,a4paper]{article}
\usepackage[margin=1.5cm]{geometry}
\usepackage[framemethod=TikZ]{mdframed}
\usepackage{colortbl}
% new colours
\definecolor{shadecolor}{rgb}{1,0.8,0.3}
\definecolor{lightgray}{rgb}{0.9,0.9,0.9}
\definecolor{yellow}{rgb}{1,0.5,0}
\begin{document}
\begin{mdframed}[roundcorner=10pt,leftmargin=1, rightmargin=1, linecolor=orange,outerlinewidth=1, innerleftmargin=15, innertopmargin=15,innerbottommargin=15]
\textbf{Detailed Test Table}
\centering
\begin{tabular}{>{\rule{0pt}{.5cm}}c >{\arraybackslash}m{2cm}>{\arraybackslash}m{2cm}>{\arraybackslash}m{6cm} >{\arraybackslash}m{3cm}}
\hline
\rowcolor{orange} \textbf{data} &\textbf{dummy} &\textbf{value} &\textbf{rough} &\textbf{text}\\
\hline
\rowcolor{lightgray} rsxx & CreT & 17603472, 19141561 & twet & 17603472, 19141561\\
rs7193xx343 & TrT & 19597491, 21760908 & twer & 19597491, 21760908\\
rxx376333 & CCe & 2017r3747 & twertw & 20173747\\
\hline
\end{tabular}
\end{mdframed}
\end{document}
How can i implement it?
xcolorbeforemdframed. – Gonzalo Medina Apr 23 '12 at 05:45clashissue. – Apr 23 '12 at 07:50\usepackage[table]{xcolor}beforemdframed. You're loading it afterwards, which causes the clash. – Jake Apr 23 '12 at 08:30