summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/latex-graphics-companion/9-3-16.inl
blob: 7501608183e300758d8653184aa83c6c7e43d241 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
\usepackage {colortbl}
\newcommand{\panel}[1]{%
 \multicolumn{1}{|>{\columncolor{white}}r}{#1}}
\setlength\fboxsep{3mm}
\colorbox[cmyk]{.40,0,0,0}{%
\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}}