I have a longtable spanning multiple pages but the verticle alignment is forced at the pagebreak, so the first page is pushed down to the bottom while the second page is glued to the top. How can i force both to the top of the page (or to the center for that matter).
\documentclass[12pt]{article}
\usepackage{pgfplots}
\usepackage{pdflscape}
\usepackage{booktabs}
\usepackage{tabularx}
\usepackage{longtable}
\begin{document}
\section{Title}
\tiny
\
\vfill
\begin{longtable}[!htb]{>{\raggedright}p{0.5cm}>{\raggedright}p{3.5cm}>{\raggedleft}p{1.5cm}>{\raggedleft}p{1cm}>{\raggedleft}p{1cm}>{\raggedleft}p{1cm}>{\raggedleft}p{1cm}p{1cm}<{\raggedleft}}
\caption[Correlations]{This table displays x}\\\\
\toprule
\multicolumn{1}{l}{No} &
\multicolumn{1}{l}{Company Name} &
\multicolumn{1}{r}{Constituent} &
\multicolumn{1}{r}{1} &
\multicolumn{1}{r}{2} &
\multicolumn{1}{r}{3} &
\multicolumn{1}{r}{4} &
\multicolumn{1}{r}{N}\\
\midrule
\endfirsthead
\multicolumn{8}{c}{{\bfseries \tablename\ \thetable{} -- continued from previous
page}}\\
\toprule
\multicolumn{1}{l}{No} &
\multicolumn{1}{l}{Company Name} &
\multicolumn{1}{r}{Constituent} &
\multicolumn{1}{r}{1} &
\multicolumn{1}{r}{2} &
\multicolumn{1}{r}{3} &
\multicolumn{1}{r}{4} &
\multicolumn{1}{r}{N}\\
\midrule
\endhead
\midrule
\multicolumn{8}{r}{{Continued on next page}} \\\\
\midrule
\endfoot
\bottomrule
\endlastfoot
\input{"input.tex"}
\label{table:grid_dailyaverages}
\end{longtable}
\vfill
\
\end{document}
input.tex
?tabularx
incompatible withlongtable
or am I confusing it with something else?\vfill
before the table so obviously it is at the bottom of the page. Am I missing something?