How to make last line of each table's part unfinished in latex longtable?
Posted
by diver_ru
on Stack Overflow
See other posts from Stack Overflow
or by diver_ru
Published on 2010-04-29T14:34:22Z
Indexed on
2010/04/29
14:37 UTC
Read the original article
Hit count: 227
I have a table that automatically stretched over several pages by longtable package.
\begin{longtable}{| l | l |}
\hline
A & B \\ \hline
\endfirsthead
\multicolumn{3}{l}{Table \thetable{} -- finishing} \\ \hline
\endhead
a1 & b1 \\ \hline
a1 & b2 \\ hline
........
\end{longtable}
Suppose that table broken (automatically) between first and second lines. Now i have this:
-------
|A | B|
-------
|a1|b1|
-------
<page break>
Table 1 -- finishing.
-------
|a2|b2|
-------
I want the following effect:
-------
|A | B|
-------
|a1|b1|
<page break>
Table 1 -- finishing.
-------
|a2|b2|
-------
I.e. last line of broken part should be unfinished.
© Stack Overflow or respective owner