summaryrefslogtreecommitdiff
path: root/Master/texmf-doc/doc/english/latex-graphics-companion/9-3-11.inl
blob: 3ee6d18bc440990844045260adcb00bf7b3deb0f (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{magenta}}#1}}
\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}