Thanks! I made a few additions in the interim to get the code below. BTW, for the TikZ stuff I started off of Stefan Kottwitz's example at
.
Code: Select all
\documentclass{article}
\pagestyle{empty}
\usepackage{booktabs}
\usepackage{colortbl}
\usepackage{dcolumn}
\usepackage{multirow}
\usepackage{tabularx}
\newcolumntype{R}{>{\raggedleft\arraybackslash}X} % column right-aligned
\usepackage{rotating}
\usepackage{tikz}
\usetikzlibrary{calc}
\pgfdeclarelayer{background}
\pgfdeclarelayer{foreground}
\pgfsetlayers{background,main,foreground}
\definecolor{brown1}{RGB}{244,226,208}
\definecolor{brown2}{RGB}{244,210,175}
\definecolor{brown3}{RGB}{215,166,118}
\definecolor{brown4}{RGB}{124,108,92}
\definecolor{brown5}{RGB}{88,48,8}
\begin{document}
\newcolumntype{d}[1]{D{\&}{\&}{#1}}
\begin{tikzpicture}
\node (tbl) {
\begin{sideways}
\begin{tabular}{%
p{17ex}
d{5.0}
d{6.0}d{6.0}d{6.0}
d{6.0}d{6.0}d{6.0}
d{6.0}d{6.0}d{6.0}
}
\multicolumn{1}{c}{\multirow{2}{9ex}{\centering Accident Year}} &
\multicolumn{10}{c}{Incurred Loss by Development Age} \\
\cmidrule{2-11}
& \multicolumn{1}{c}{9} & \multicolumn{1}{c}{21} &
\multicolumn{1}{c}{33} & \multicolumn{1}{c}{45} &
\multicolumn{1}{c}{57} & \multicolumn{1}{c}{69} &
\multicolumn{1}{c}{81} & \multicolumn{1}{c}{93} &
\multicolumn{1}{c}{105} & \multicolumn{1}{c}{117}\\
\rowcolor{white}
\centering 1981 & 5,012 & 8,269 & 10,907 & 11,805
& 13,539 & 16,181 & 18,009 & 18,608 & 18,662 & 18,834\\
\rowcolor{white}
\centering 1982 & 106 & 4,285 & 5,396 & 10,666
& 13,782 & 15,599 & 15,496 & 16,169 & 16,704 &\\
\rowcolor{white}
\centering 1983 & 3,410 & 8,992 & 13,873 & 16,141
& 18,735 & 22,214 & 22,863 & 23,466 & &\\
\rowcolor{brown1}
\centering 1984 & 5,655 & 11,555 & 15,766 & 21,266
& 23,425 & 26,083 & 27,067 & & &\\
\rowcolor{brown1}
\centering 1985 & 1,092 & 9,565 & 15,836 & 22,169
& 25,955 & 26,180 & & & &\\
\rowcolor{brown1}
\centering 1986 & 1,513 & 6,445 & 11,702 & 12,935
& 15,852 & & & & &\\
\rowcolor{white}
\centering 1987 & 557 & 4,020 & 10,946 & 12,314 & & & & & &\\
\rowcolor{white}
\centering 1988 & 1,351 & 6,947 & 13,112 & & & & & & &\\
\rowcolor{white}
\centering 1989 & 3,133 & 5,395 & & & & & & & &\\
\rowcolor{brown1}
\centering 1990 & 2,063 & & & & & & & & &\\
\rowcolor{brown1}
& & & & & & & & & &\\
\addlinespace
& \multicolumn{9}{c}{Age-to-Age LDFs} & \\
\cmidrule{2-10}
& \multicolumn{1}{c}{9 $\rightarrow$ 21} &
\multicolumn{1}{c}{21 $\rightarrow$ 33} &
\multicolumn{1}{c}{33 $\rightarrow$ 45} &
\multicolumn{1}{c}{45 $\rightarrow$ 57} &
\multicolumn{1}{c}{57 $\rightarrow$ 69} &
\multicolumn{1}{c}{69 $\rightarrow$ 81} &
\multicolumn{1}{c}{81 $\rightarrow$ 93} &
\multicolumn{1}{c}{93 $\rightarrow$ 105} &
\multicolumn{1}{c}{105 $\rightarrow$ 117}\\
\rowcolor{white}\centering
1981 & 1.65 & 1.32 & 1.08 & 1.15 & 1.20 & 1.11 & 1.03 & 1.00 & 1.01&\\
\rowcolor{white}\centering
1982 & 40.42 & 1.26 & 1.98 & 1.29 & 1.13 & 0.99 & 1.04 & 1.03 & &\\
\rowcolor{white}\centering
1983 & 2.64 & 1.54 & 1.16 & 1.16 & 1.19 & 1.02 & 1.03 & & &\\
\rowcolor{brown1}\centering
1984 & 2.04 & 1.36 & 1.35 & 1.10 & 1.11 & 1.03 & & & &\\
\rowcolor{brown1}\centering
1985 & 8.76 & 1.66 & 1.40 & 1.17 & 1.01 & & & & &\\
\rowcolor{brown1}\centering
1986 & 4.26 & 1.82 & 1.11 & 1.23 & & & & & &\\
\rowcolor{white}\centering
1987 & 7.22 & 2.72 & 1.12 & & & & & & &\\
\rowcolor{white}\centering
1988 & 5.14 & 1.89 & & & & & & & &\\
\rowcolor{white}\centering
1989 & 1.72 & & & & & & & & &\\
\addlinespace
& \multicolumn{9}{c}{Averaged Age-to-Age LDFs}\\
\rowcolor{white}
Average & 8.21 & 1.70 & 1.31 & 1.18 & 1.13 & 1.04 & 1.03 &
1.02 & 1.01 &\\
\rowcolor{white}
Avg xHi,Lo & 4.54 & 1.60 & 1.23 & 1.18 & 1.14 & 1.03 & 1.03 &
1.02 & 1.01 &\\
\rowcolor{white}
Avg Last 5 & 5.42 & 1.89 & 1.23 & 1.19 & 1.13 & 1.04 & 1.03 &
1.02 & 1.01 &\\
\rowcolor{white}
Weighted Avg & 3.00 & 1.62 & 1.27 & 1.17 & 1.11 & 1.04 & 1.03 &
1.02 & 1.01 &\\
\rowcolor{white}
Weighted Last 5 & 4.23 & 1.75 & 1.25 & 1.18 & 1.11 & 1.04 & 1.03 &
1.02 & 1.01 &\\
\end{tabular}
\end{sideways}};
\begin{pgfonlayer}{background}
\draw[rounded corners,top color=brown3,bottom color=brown2,draw=brown5]
($(tbl.north west)+(-0.00,-0.00)$) rectangle
($(tbl.south east)-(-0.00,-0.00)$);
\end{pgfonlayer}
\end{tikzpicture}
\end{document}