7

What package can I use to make a table that looks like this one?

enter image description here

0

2 Answers 2

13

David posted while I was working out my solution, which is very similar to his. Here is my contribution:

\documentclass{article}

\usepackage{colortbl}
\usepackage{MnSymbol}

\begin{document}
\sffamily

% --- define colors
\definecolor{dark}{rgb}{0.5,0.5,0.5}
\definecolor{light}{rgb}{0.75,0.75,0.75}

% --- define two types of colored columns that contain bullets
\newcolumntype{A}{>{\columncolor{dark}}c}
\newcolumntype{B}{>{\columncolor{light}}c}

% --- symbols in the columns containing bullets
\newcommand\arrow{\small$\filledmedtriangledown$}
\newcommand\yes{$\bullet$}
\newcommand\blackyes{\cellcolor{black}\color{white}\yes}

% --- counters for automatic numbering
\newcounter{tablepart}
\newcounter{tableitem}[tablepart]

% --- commands for text corresponding entries
\newcommand\tablepart[1]{\stepcounter{tablepart}\textbf{Part \arabic{tablepart}. #1}}
\newcommand\tableitem[1]{\stepcounter{tableitem}\makebox[16pt][r]{\arabic{tableitem}} #1}

% --- the table
\tabcolsep=2pt
\begin{tabular}{ABAp{10cm}}
& \multicolumn{3}{>{\columncolor{dark}}l}{\color{white}  Property 1} \\
& & \multicolumn{2}{>{\columncolor{light}}l}{Property 2} \\
\arrow & & & \multicolumn{1}{>{\columncolor{dark}}l}{\color{white} Property 3} \\
& \arrow & & \\
& & \arrow & \tablepart{Introduction} \\
\yes & \yes & & \tableitem{Step one} \\
\hline
\yes & \blackyes & \yes & \tableitem{Step two} \\
\hline
\yes & \blackyes & \blackyes & \tableitem{Step three} \\
\hline
& & \\
& & & \tablepart{Conclusion} \\
\yes & \yes & & \tableitem{Step one} \\
\hline
\yes & & \yes & \tableitem{Step two} \\
\hline
\blackyes & & \yes & \tableitem{Step three} \\
\hline
\end{tabular}

\end{document}
1
  • You're kinder than I am, went closer to the requested format;-) Apr 27, 2012 at 14:22
9

This may get you started:

enter image description here

\documentclass{article}

\usepackage{colortbl}

\begin{document}

\begin{tabular}{
>{\columncolor[gray]{0.3}}l
>{\columncolor[gray]{0.9}}l
ll}
\multicolumn{4}{>{\columncolor[gray]{0.3}}l}{\color{white}Something}\\
a&\multicolumn{3}{>{\columncolor[gray]{0.9}}l}{\color{black}Something Else}\\
a&b&c&d\\
a&b&c&d\\
a&b&c&d\\
\end{tabular}
\end{document}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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