\documentclass{article}
\usepackage{booktabs}
\usepackage{dcolumn}
\begin{document}
\setcounter{page}{3}
% Table generated by Excel2LaTeX from sheet 'nipo'
\setcounter{table}{1}
\renewcommand{\tablename}{Panel} % Set the tablename to Panel, instead of Table
\renewcommand{\thetable}{\Alph{table}} % Setting the table number output to letters
\begin{table}[htbp]
\centering
\caption{Statistics of Initial Public Offering}
\begin{tabular}{rrr}
\toprule
Year & Frequency & \% \\
\midrule
1975 & 10 & 0,1 \\
1976 & 27 & 0,3 \\
1977 & 17 & 0,2 \\
1978 & 21 & 0,3 \\
1979 & 47 & 0,6 \\
1980 & 69 & 0,8 \\
1981 & 183 & 2,2 \\
1982 & 80 & 1,0 \\
1983 & 524 & 6,4 \\
1984 & 219 & 2,7 \\
1985 & 258 & 3,1 \\
1986 & 523 & 6,3 \\
1987 & 383 & 4,6 \\
1988 & 161 & 2,0 \\
1989 & 161 & 2,0 \\
1990 & 146 & 1,8 \\
1991 & 334 & 4,1 \\
1992 & 459 & 5,6 \\
1993 & 557 & 6,8 \\
1994 & 457 & 5,5 \\
1995 & 479 & 5,8 \\
1996 & 635 & 7,7 \\
1997 & 443 & 5,4 \\
1998 & 273 & 3,3 \\
1999 & 401 & 4,9 \\
2000 & 340 & 4,1 \\
2001 & 83 & 1,0 \\
2002 & 68 & 0,8 \\
2003 & 65 & 0,8 \\
2004 & 179 & 2,2 \\
2005 & 180 & 2,2 \\
2006 & 191 & 2,3 \\
2007 & 236 & 2,9 \\
2008 & 29 & 0,4 \\
Sum & 8238 & 100,0 \\
N & 34 & \\
\bottomrule
\end{tabular}%
\label{tab:addlabel}%
\end{table}%
\end{document}
Explanation
Each time \begin{table}
is called, it advances the table number by 1, so if the first table should get the number 2 actually, the table number must be initially set to 1, this is done by \setcounter{table}{1}
.
The screen shot contains only the upper part of the table.
One way is to shift up the skip prior to the mid-height \tabucline
with a \\[-1pt]
. See below for 2nd approach.
%Dokumentclass
\documentclass[landscape]{letter}
%Packages
\usepackage[landscape]{geometry}
\usepackage[utf8] {inputenc}
\usepackage {multirow}
\usepackage {tabu}
%Formatting
\pagestyle{empty} %Remove numbering
\begin{document}
\begin{tabu}{ |[1pt] l | l l | l | l |[1pt] }
\tabucline[1 pt]{1-5}
\multicolumn{2}{ |[1pt] l }{ } & \multicolumn{3}{ |[1pt] l |[1pt]}{ } \\ \hline
& & \multicolumn{1}{ |[1pt] l | }{ } & \multicolumn{2}{ l |[1pt] }{ } \\ \hline
y & & \multicolumn{1}{ |[1pt] l | }{ } & \multicolumn{2}{ l |[1pt] }{ } \\[-1pt] \tabucline[1 pt]{3-5}
\hline
x & & \multicolumn{1}{ |[1pt] l | }{ } & & \\ \hline
& & \multicolumn{1}{ |[1pt] l | }{ } & & \\ \hline
& & \multicolumn{1}{ |[1pt] l | }{ } & & \\ \hline
& & \multicolumn{1}{ |[1pt] l | }{ } & & \\ \tabucline[1 pt]{1-5}
\end{tabu}
\end{document}
Alternately, if you want the thin line to bisect the thick line, then the approach: \\[-1pt] \tabucline[1 pt]{3-5}\\[-12.5pt]\hline
works.
%Dokumentclass
\documentclass[landscape]{letter}
%Packages
\usepackage[landscape]{geometry}
\usepackage[utf8] {inputenc}
\usepackage {multirow}
\usepackage {tabu}
%Formatting
\pagestyle{empty} %Remove numbering
\begin{document}
\begin{tabu}{ |[1pt] l | l l | l | l |[1pt] }
\tabucline[1 pt]{1-5}
\multicolumn{2}{ |[1pt] l }{ } & \multicolumn{3}{ |[1pt] l |[1pt]}{ } \\ \hline
& & \multicolumn{1}{ |[1pt] l | }{ } & \multicolumn{2}{ l |[1pt] }{ } \\ \hline
y & & \multicolumn{1}{ |[1pt] l | }{ } & \multicolumn{2}{ l |[1pt] }{ } \\[-1pt] \tabucline[1 pt]{3-5}\\[-12.5pt]
\hline
x & & \multicolumn{1}{ |[1pt] l | }{ } & & \\ \hline
& & \multicolumn{1}{ |[1pt] l | }{ } & & \\ \hline
& & \multicolumn{1}{ |[1pt] l | }{ } & & \\ \hline
& & \multicolumn{1}{ |[1pt] l | }{ } & & \\ \tabucline[1 pt]{1-5}
\end{tabu}
\end{document}
Best Answer
A version using package
siunitx
:booktabs
. Therefore the example uses the rules provided by the package.