我的附录中需要一个长表,因此我使用了包lscape
或pdflscape
,但landscape
环境似乎将其前一页的页码上移。请参阅下面的代码。
\documentclass[twoside, openright]{report}
\usepackage{lscape}
\begin{document}
\chapter{ch1}
this is ch1
\begin{landscape}
\chapter{ch2 is a long table}
there is a long table
\end{landscape}
\end{document}
答案1
章节标题代码不期望被美化,因此有点混乱。正常用法是
\documentclass[twoside, openright]{report}
\usepackage{lscape}
\begin{document}
\chapter{ch1}
this is ch1
\chapter{ch2 is a long table}
\begin{landscape}
there is a long table
\end{landscape}
\end{document}
或者,这也行得通,它在风景开始之前发出空白页以到达奇数页。
\documentclass[twoside, openright]{report}
\usepackage{lscape}
\begin{document}
\chapter{ch1}
this is ch1
\cleardoublepage
\begin{landscape}
\chapter{ch2 is a long table}
there is a long table
\end{landscape}
\end{document}