![为什么在 LaTeX 中横向移动双面页码?](https://linux22.com/image/267630/%E4%B8%BA%E4%BB%80%E4%B9%88%E5%9C%A8%20LaTeX%20%E4%B8%AD%E6%A8%AA%E5%90%91%E7%A7%BB%E5%8A%A8%E5%8F%8C%E9%9D%A2%E9%A1%B5%E7%A0%81%EF%BC%9F.png)
我的附录中需要一个长表,因此我使用了包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}