I try to make a table with a caption and I have some issues with the layout.
How can I force the table to fit in the width of the caption? The last column is sticking out.
And how could I adjust the alignment in the first column so that z's are one below the other?
\documentclass{article}
\usepackage{longtable}
\usepackage{blindtext}
\begin{document}
\begin{table}[h]
\centering
\caption{\blindtext[1]}
\begin{longtable}{ c | c | c | c | c | c }
& $0.23< z<13.4$ & $0< z<13.4$ & $0< z<13.4$ & $0.23< z<13.4$ & $0< z<13.4$
\\\hline $0< z<13.4$ & 1000000 & 10000000 & 10000000 & 10000000 & 10000000
\\\hline $0< z<1$ & 1000000 & 10000000 & 10000000 & 10000000 & 10000000
\\\hline $0.233< z<1$ & 1000000 & 10000000 & 10000000 & 10000000 & 10000000
\end{longtable}
\end{table}
\end{document}


table– David Carlisle Jun 06 '15 at 09:13texdoc longtablethe documentation says that longtable has a \caption command in the third sentence:-) – David Carlisle Jun 06 '15 at 09:19geometry: you'll have decent margins and this table will fit text width. – Bernard Jun 06 '15 at 09:30