[OS X TeX] OT: Vertically centered pages in a multipage table with longtable?
Bruno Voisin
bvoisin at mac.com
Fri May 7 17:47:38 CEST 2004
> Hello,
Having had no luck, as usual, with comp.text.tex, I'm trying here, in
case someone knows the answer to the following non-Mac-specific
question.
> Is there a way, in a multipage table produced using the longtable
> environment, the page breaks being defined manually by inserting
> \newpage commands inside this environment, to obtain vertically
> centered pages? Namely that, in each individual page, the part of the
> table occupying this page be vertically centered instead of being
> pushed towards the top as it is by default.
>
> I've tried modifying \LT at array by changing:
>
> \def\newpage{\noalign{\break}}
>
> to:
>
> \def\newpage{\noalign{\vfill\break\vfill}}
>
> but that's only partly successful: on each page, the body of the part
> of the table on this page is indeed centered vertically, but the table
> head and foot, defined using \endhead and \endfoot, respectively, are
> pushed towards the top and bottom, respectively, hence they are
> separated from the table body by some white vertical space.
>
> Thanks for any hint, or just an indication that what I'm looking for
> is impossible to get.
>
> Bruno Voisin
-----------------------------------------------------
Please see <http://www.esm.psu.edu/mac-tex/> for list
guidelines, information, and LaTeX/TeX resources.
More information about the macostex-archives
mailing list