私はページ ヘッダーで 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}