summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/latex-graphics-companion/9-3-15.inl
blob: 36d6dabb15bef82329d3daf856fa85af714862cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
\usepackage {colortbl}
\newcommand{\panel}[1]{\multicolumn{1}
 {|>{\columncolor[cmyk]{.40,0,0,0}}r}{#1}}
\begin{tabular}{l|r|r}
\multicolumn{1}{l|}
   {\large\textbf{Table title}}\\[2mm]
\textbf{Description} & \textbf{Column 1}
             & \textbf{Column 2} \\[1mm]\hline
Row one  & \panel{mmmmm} & \panel{mmmm} \\\hline
Row two  &  \panel{mmmm} &  \panel{mmm} \\\hline
Row three& \panel{mmmmm} & \panel{mmmmm}\\\hline
Row four & \panel{mmmmm} & \panel{mmmm} \\\hline
Totals   & mmmmm & mmmmm
\end{tabular}