summaryrefslogtreecommitdiff
path: root/info/examples/lgc/9-3-12.inl
blob: 00c3884d32639b95e0a7aba94177816b590bdc8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
\usepackage {colortbl}
\newcommand\panel[1]{\multicolumn{1}%
             {>{\columncolor{white}}#1}}
\colorbox{magenta}{%
\arrayrulecolor{black}
\begin{tabular}{lrr}
  \large\textbf{Table title}\\[2mm]
  \textbf{Description}
         & \textbf{Column 1}
             & \textbf{Column 2}\\[1mm]
  Row one & mmmmm & mmmm \\
  Row two &  mmmm & mmm  \\
  \panel{l}{Row three}
          & \panel{r}{mmmmm}
             & \panel{r}{mmmmm} \\
  Row four& mmmmm & mmmm \\ \cline{2-3}
  Totals  & mmmmm & mmmmm
\end{tabular}}