[texhax] supertabular oddity with page break

Uwe Lueck uwe.lueck at web.de
Mon Dec 19 15:27:28 CET 2011


"Thomas M. Sommers" <tmsommers2 at gmail.com> wrote 13.12.2011 20:03:00:
> In the below document, as it is, LaTeX apparently thinks that the last
> section heading is on the previous page, so it starts the supertabular
> environment on yet another new page.

I can't study details right now. I am just not surprised about such an observation.
The hyperref documentation had one or another section heading
at a page bottom for some time, apparently due to a longtable-like
table environment starting immediately after the sectioning command.

What I can say: supertabular seems to be considered somewhat outdated,
have you noticed the description?

    http://ctan.org/pkg/supertabular

The most recent packages I am aware of, for tables that may break across tables
are cals and tabu:

    http://ctan.org/pkg/cals
    http://ctan.org/pkg/tabu

Together with the packages listed at Jürgen Fenn's

    http://ctan.larsko.net/help/Catalogue/bytopic.html#setlongtables

you get all the packages for page-spanning tables I am aware of.

Best,

    Uwe.

>This does not happen with the
>regular tabular environment. I can "fix" things by issuing an
>explicit \newpage, but I was wondering if anyone knew why this was
>happening.
>
>-------- snip --------------
>\documentclass[oneside]{book}
>
>\usepackage{supertabular}
>
>\setlength{\oddsidemargin}{0.95in}
>\addtolength{\textheight}{1.5in}
>\addtolength\topmargin{-.6in}
>
>\tablelasttail{}
>
>%---------------------------------------
>\begin{document}
>
>%---------------------------------------
>\chapter[Second Declension]{Second Declension Masculine Nouns and
>Adjectives; Apposition; Word Order}
>
>\section{Grammar}
>
>\subsection{The Second Declension}
>
>need three\\
>lines\\
>here
>
>\subsubsection{Masculines in -us}
>
>\begin{center}
>\begin{tabular}{llll}
>\multicolumn{4}{c}{\sc Singular} \\
>Nom. \\
>Gen. \\
>Dat. \\
>Acc. \\
>Abl. \\
>Voc. \\
>\end{tabular}
>\end{center}
>
>\begin{center}
>\begin{tabular}{llll}
>\multicolumn{4}{c}{\sc Plural} \\
>Nom. \\
>Gen. \\
>Dat. \\
>Acc. \\
>Abl. \\
>\end{tabular}
>\end{center}
>
>\subsubsection{Masculines in -er}
>
>need\\
>four\\
>lines\\
>here
>% But add another four and the problem goes away.
>%\\
>%one\\
>%two\\
>%three\\
>%four
>
>% Or add a \newpage and it works correctly.
>%\newpage
>\section{Vocabulary}
>
>% Use tabular instead of supertabular and there is no problem.
>%\begin{tabular}{lll}
>\begin{supertabular}{lll}
>ager, agr\=\i & m. & field, farm \\
>agricola, agricolae & m. & farmer \\
>\end{supertabular}
>%\end{tabular}
>
>\end{document}
>
>
>--
>T. M. Sommers
>_______________________________________________
>TeX FAQ: http://www.tex.ac.uk/faq
>Mailing list archives: http://tug.org/pipermail/texhax/
>More links: http://tug.org/begin.html
>
>Automated subscription management: http://tug.org/mailman/listinfo/texhax
>Human mailing list managers: postmaster at tug.org




More information about the texhax mailing list