I have a problem using the supertabular package. Basically the horizontal lines, instead of stopping at the end of the table, continue until the end of the page.
This is a self-explaining screenshot. The first is a supertabular, the second is a tabular:
And here's the code. I tried to cut it in order to make it as short as possible but still keeping it functioning. What am I doing wrong? I'm not very expert at LaTeX so I might be missing something.
\documentclass[a4paper,12pt]{book}
\usepackage{supertabular}
\usepackage{array}
\usepackage[]{geometry}
%\newcolumntype{v}[1]{>{\raggedright \arraybackslash\hspace{0pt}}p{#1}}
\begin{document}
\tablehead {%
\hline
0 & 1 & 2 & 3 & 4 & 5 & 6 & 7 & 8 & 9 & 10 & 11 \tabularnewline
}
\tabletail{%
}
\label{tab:lead_overview}
\begin{supertabular*}{\textwidth}{ | c | c | c | c | c | c | c | c | c | c | c | c | }
\hline
0 & 1 & 2 & 3 & 4 & 5 & 6 & 7 & 8 & 9 & 10 & 11 \tabularnewline
\hline
\end{supertabular*}
\begin{tabular}{ | c | c | c | c | c | c | c | c | c | c | c | c | }
\hline
0 & 1 & 2 & 3 & 4 & 5 & 6 & 7 & 8 & 9 & 10 & 11 \\ \hline
0 & 1 & 2 & 3 & 4 & 5 & 6 & 7 & 8 & 9 & 10 & 11 \\ \hline
\end{tabular}
\end{document}
supertabular
you have told it to be as wide as the\textwidth
, so it's doing what you're telling it to!\begin{supertabular}{|c|c...
instead of\begin{supertabluar*}{\textwidth}...