我正在尝试将这个非常宽且长的表格置于横向页面的中心。我试过了\vfill
,但什么也没做。还尝试修剪边距:没有。有人有主意吗?
\pagestyle{empty}
\begin{landscape}
\begin{table}[p!]
\centerline{
\begin{tabular}{ll|ll|ll|ll|ll}\hline \hline
loooooooooong table part with many lines\\
loooooooooong table part with many lines\\
loooooooooong table part with many lines\\
loooooooooong table part with many lines\\
loooooooooong table part with many lines\\
loooooooooong table part with many lines\\
loooooooooong table part with many lines\\
loooooooooong table part with many lines\\
\hline
\legend\\
\hline \hline
\end{tabular}}
\end{table}}
\end{landscape}
\pagestyle{plain}
答案1
有些事情是这样的:
\documentclass{article}
\usepackage{pdflscape}
% Or with the lscape package.
%\usepackage{lscape}
\begin{document}
\pagestyle{empty}
\begin{landscape}
\begin{table}[p!]\centering
\begin{tabular}{ll|ll|ll|ll|ll}\hline \hline
loooooooooong table part with many lines\\
loooooooooong table part with many lines\\
loooooooooong table part with many lines\\
loooooooooong table part with many lines\\
loooooooooong table part with many lines\\
loooooooooong table part with many lines\\
loooooooooong table part with many lines\\
loooooooooong table part with many lines\\
\hline
legend\\
\hline \hline
\end{tabular}
\end{table}
\end{landscape}
\pagestyle{plain}
\end{document}