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}
5
  • 1
    Have a look at the solutions here. Let us know if they help at all.
    – Scott H.
    May 28 '13 at 23:06
  • 1
    See also here
    – Xavier
    May 28 '13 at 23:07
  • @Xavier it's a duplicate of that if you know that neither longtable nor LyX that appear in the title are relevant to the answer, but I think it's reasonable not to know that. May 28 '13 at 23:21
  • @DavidCarlisle Agree. I didn't mean my close vote / comment to be offensive; I just though this question must have been asked before and found the one above. Should we edit the title of the linked one to make it more generic, or make this question the reference one?
    – Xavier
    May 29 '13 at 0:34
  • @Xavier not sure, one of those things:-) May 29 '13 at 0:37
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}

Not the answer you're looking for? Browse other questions tagged or ask your own question.