I need some help.
My longtable
was all right until I wanted to insert one horizontal dash line. That's why I put package arydshln
(which caused troubles). Even before I used \hdashline
code, my result got this appearance: vertical line got extended and covered the row of a page number
and in the end of longtable
, last row is missing a vertical line
I just can't figure out where is the problem.
\documentclass[a4paper, 12pt]{article}
\usepackage{times}
\usepackage{graphicx}
\usepackage{longtable}
\usepackage{amsmath}
\usepackage{setspace}
\usepackage{booktabs}
\doublespacing
\usepackage{arydshln}
\begin{document}
TABLE
\fontsize{9}{11}\selectfont
\begin{centering}
\begin{longtable}{@{}r | r r r r r r}
\caption{Table}\\
\cline{2-7}
\multicolumn{2}{r}{AA}& BB & CC & DD\\
\specialrule{2.0pt}{0pt}{0pt}
\endfirsthead
\cline{2-7}
\multicolumn{2}{r}{AA} & BB & CC & DD\\
\specialrule{2.0pt}{0pt}{0pt}
\endhead
11 & A & B & C & D\\
22 & A & B & C & D\\
33 & A & B & C & D\\
44 & A & B & C & D\\
55 & A & B & C & D\\
66 & A & B & C & D\\
77 & A & B & C & D\\
88 & A & B & C & D\\
99 & A & B & C & D\\
111 & A & B & C & D\\
222 & A & B & C & D\\
333 & A & B & C & D\\
00 & A & B & C & D\\
11 & A & B & C & D\\
22 & A & B & C & D\\
33 & A & B & C & D\\
44 & A & B & C & D\\
55 & A & B & C & D\\
66 & A & B & C & D\\
77 & A & B & C & D\\
88 & A & B & C & D\\
99 & A & B & C & D\\
000 & A & B & C & D\\
111 & A & B & C & D\\
222 & A & B & C & D\\
444 & A & B & C & D\\
555 & A & B & C & D\\
666 & A & B & C & D\\
777 & A & B & C & D\\
888 & A & B & C & D\\
999 & A & B & C & D\\
\end{longtable}
\end{centering}
\end{document}
(code edited)
document
environment, remove the vertical dots and compile, I get the output I'd expect. So either I don't understand the issue or it is not reproducible even with a completed version of your code. [Last row has as many vertical lines as the preceding two rows.] – cfr Jan 3 '15 at 1:00longtable
got too long vertical line, and other part oflongtable
(that is printed on other page) got a too short vertical line and it doesnt cover whole table (last row to be exactly) – AuroraNord Jan 4 '15 at 11:26