
我使用帶有頁眉的 scrreprt 類別。我也使用頁邊註解。在縱向模式下看起來不錯。
但是,某些頁面可能會旋轉。在這種情況下,這看起來很難看。
這是一個 MWE:
\documentclass[a4paper]{scrreprt}
\usepackage{lipsum}
\usepackage{pdflscape}
\usepackage[headsepline]{scrlayer-scrpage}
\pagestyle{scrheadings}
\clearscrheadings
\ohead{\pagemark{}}
\newcommand{\examplepage}{
\lipsum[1]
\marginpar{This is a marginal note.}
\lipsum[2-4]
}
\begin{document}
\examplepage{}
\begin{landscape}
\examplepage{}
\end{landscape}
\end{document}
我可以做些什麼來改善橫向頁面佈局?
答案1
您可以在環境\reversemarginpar
內部使用landscape
:
\documentclass[a4paper]{scrreprt}
\usepackage{lipsum}
\usepackage{pdflscape}
\usepackage[headsepline]{scrlayer-scrpage}
\pagestyle{scrheadings}
\clearscrheadings
\ohead{\pagemark{}}
\newcommand{\examplepage}{
\lipsum[1]
\marginpar{This is a marginal note.}
\lipsum[2-4]
}
\begin{document}
\examplepage{}
\begin{landscape}
\reversemarginpar
\examplepage{}
\end{landscape}
\end{document}