File: 9-3-16.inl

package info (click to toggle)
texlive-doc 2012.20120611-1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 250,664 kB
  • sloc: xml: 18,901; perl: 13,380; makefile: 931; lisp: 394; sh: 313; awk: 205; java: 159; sed: 4
file content (16 lines) | stat: -rw-r--r-- 556 bytes parent folder | download | duplicates (11)
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}}