質問: I'm working on an article in which I have to put a large and wide table. This table is directly at the start of a new chapter. Because it is very wide, I want to rotate this table (or use it in a landscape environment). Due to the size of the table, I want it to continue on multiple pages. This is how I've currently done this: ``` \documentclass[twocolumn]{article} \usepackage{pdflscape} \usepackage{longtable} \usepackage{lipsum} \begin{document} \onecolumn \section{Title} \begin{landscape} \centering \begin{longtable}{|p{0.5cm}|p{5.5cm}|p{5.5cm}|p{5.5cm}|} \caption{Long and wide table} \\ \hline & \rule{0pt}{3ex}\textbf{Text} & \textbf{More text} & \textbf{Example} \\ \endhead \hline \rule{0pt}{3ex}1.1 & \lipsum[13] & \lipsum[13]& \lipsum[13]\\ \hline \rule{0pt}{3ex}1.2 & \lipsum[13] & \lipsum[13]& \lipsum[13]\\ \hline \rule{0pt}{3ex}1.3 & \lipsum[13] & \lipsum[13]& \lipsum[13]\\ \hline \rule{0pt}{3ex}1.4 & \lipsum[13] & \lipsum[13]& \lipsum[13]\\ \hline \rule{0pt}{3ex}1.5 & \lipsum[13] & \lipsum[13]& \lipsum[13]\\ \hline \rule{0pt}{3ex}1.6 & \lipsum[13] & \lipsum[13]& \lipsum[13]\\ \hline \rule{0pt}{3ex}1.7 & \lipsum[13] & \lipsum[13]& \lipsum[13]\\ \hline \rule{0pt}{3ex}1.8 & \lipsum[13] & \lipsum[13]& \lipsum[13]\\ \hline \end{longtable} \end{landscape} \twocolumn \end{document} ``` This works fine, except this table does not begin at the start of my section, but on the next page, leaving only the name of the new section on a blank page. I tried to solve this by using the hvfloat package, as is done [here](https://tex.stackexchange.com/questions/118073/problems-with-landscape-mode-and-title-on-the-same-page/ "here"). To get this working I switched to a table instead of a longtable, but this introduces the problem that the table is put on one page (while it should be on multiple pages, thus a large part of the table is not visible since it is outside the page). I've put many hours in getting this working and on the internet I can't find any help, so can one of you guys help me out?
回答: You can do this although I'm not sure I would, I'd do the commented out version to rotate the section head along with the table (I think). I also removed `\centering` as it has no effect on longtable. ``` \documentclass[twocolumn]{article} \usepackage{pdflscape} \usepackage{longtable} \usepackage{lipsum} \begin{document} \onecolumn \begin{landscape} %\section{Title} \begin{picture}(0,0)\put(550,0){\rotatebox{-90}{\parbox{\textwidth}{\section{title}}}}\end{picture} \begin{longtable}{|p{0.5cm}|p{5.5cm}|p{5.5cm}|p{5.5cm}|} \caption{Long and wide table} \\ \hline & \rule{0pt}{3ex}\textbf{Text} & \textbf{More text} & \textbf{Example} \\ \endhead \hline \rule{0pt}{3ex}1.1 & \lipsum[13] & \lipsum[13]& \lipsum[13]\\ \hline \rule{0pt}{3ex}1.2 & \lipsum[13] & \lipsum[13]& \lipsum[13]\\ \hline \rule{0pt}{3ex}1.3 & \lipsum[13] & \lipsum[13]& \lipsum[13]\\ \hline \rule{0pt}{3ex}1.4 & \lipsum[13] & \lipsum[13]& \lipsum[13]\\ \hline \rule{0pt}{3ex}1.5 & \lipsum[13] & \lipsum[13]& \lipsum[13]\\ \hline \rule{0pt}{3ex}1.6 & \lipsum[13] & \lipsum[13]& \lipsum[13]\\ \hline \rule{0pt}{3ex}1.7 & \lipsum[13] & \lipsum[13]& \lipsum[13]\\ \hline \rule{0pt}{3ex}1.8 & \lipsum[13] & \lipsum[13]& \lipsum[13]\\ \hline \end{longtable} \end{landscape} \twocolumn \end{document} ```