2

I'm having trouble finding anything that will work with this checklist table that I have set up. I was hoping someone might have some suggestions.

\usepackage{colortbl}

\begin{center}
{\renewcommand{\arraystretch}{1.3}%
\begin{tabular}{ | m{5cm} | c | l | l |l |l |l |}
\hline
Checklist & Agency #1 & Agency #2 & Agency #3 & Agency #4 &  Agency #5 \\ \hline
List Item. & \hspace{1.3 cm} & \hspace{1.3 cm} & \hspace{1.3 cm} & \hspace{1.3 cm} & \hspace{1.3 cm} \\ 
\hline
List Item. & \hspace{1.3 cm} & \hspace{1.3 cm} & \hspace{1.3 cm} & \hspace{1.3 cm} & \hspace{1.3 cm} \\ 
\hline
List Item. & \hspace{1.3 cm} & \hspace{1.3 cm} & \hspace{1.3 cm} & \hspace{1.3 cm} & \hspace{1.3 cm} \\
\hline
List Item. & \hspace{1.3 cm} & \hspace{1.3 cm} & \hspace{1.3 cm} & \hspace{1.3 cm} & \hspace{1.3 cm} \\
\hline
List Item. & \hspace{1.3 cm} & \hspace{1.3 cm} & \hspace{1.3 cm} & \hspace{1.3 cm} & \hspace{1.3 cm} \\
\hline
List Item. & \hspace{1.3 cm} & \hspace{1.3 cm} & \hspace{1.3 cm} & \hspace{1.3 cm} & \hspace{1.3 cm} \\
\hline
\end{tabular}
\end{center}
ShreevatsaR
  • 45,428
  • 10
  • 117
  • 149
jc_os
  • 329

1 Answers1

5

enter image description here

xcolor provides some convenient extras over colortbl. But please always post complete documents and check for unrelated errors (extra { and use of # in this case)

\documentclass{article}

\usepackage[table]{xcolor}

\begin{document}



\begin{center}
\rowcolors{2}{red}{yellow}
\renewcommand{\arraystretch}{1.3}%
\begin{tabular}{ | m{5cm} | c | l | l |l |l |l |}
\hline
Checklist & Agency \#1 & Agency \#2 & Agency \#3 & Agency \#4 &  Agency \#5 \\ \hline
List Item. & \hspace{1.3 cm} & \hspace{1.3 cm} & \hspace{1.3 cm} & \hspace{1.3 cm} & \hspace{1.3 cm} \\ 
\hline
List Item. & \hspace{1.3 cm} & \hspace{1.3 cm} & \hspace{1.3 cm} & \hspace{1.3 cm} & \hspace{1.3 cm} \\ 
\hline
List Item. & \hspace{1.3 cm} & \hspace{1.3 cm} & \hspace{1.3 cm} & \hspace{1.3 cm} & \hspace{1.3 cm} \\
\hline
List Item. & \hspace{1.3 cm} & \hspace{1.3 cm} & \hspace{1.3 cm} & \hspace{1.3 cm} & \hspace{1.3 cm} \\
\hline
List Item. & \hspace{1.3 cm} & \hspace{1.3 cm} & \hspace{1.3 cm} & \hspace{1.3 cm} & \hspace{1.3 cm} \\
\hline
List Item. & \hspace{1.3 cm} & \hspace{1.3 cm} & \hspace{1.3 cm} & \hspace{1.3 cm} & \hspace{1.3 cm} \\
\hline
\end{tabular}
\end{center}

\end{document}
David Carlisle
  • 757,742