梅威瑟:
\documentclass[lang=en,11pt]{elegantbook}
\usepackage{lipsum}
\title{Book Title}
\subtitle{Chapter and section at header alternatively}
\author{No author name given}
\institute{ABC}
\date{February 10, 2020}
\begin{document}
\maketitle
\frontmatter
\tableofcontents
\mainmatter
\chapter{First Chapter}
\lipsum[1]
\section{First Ection}
\lipsum[1-20]
\subsection{First Ection}
\lipsum[1]
\lipsum[1]
\end{document}
我怎样才能在雅书?
答案1
twoside
也许这有帮助,我只是使用了文档类中的选项。- 根据手动的,该模板是“[...]基于标准LATEX书籍类,因此书籍课堂作业选项“同样如此”。
\documentclass[lang=en,11pt, twoside]{elegantbook} % <-- Modified
\usepackage{lipsum}
\title{Book Title}
\subtitle{Chapter and section at header alternatively}
\author{No author name given}
\institute{ABC}
\date{February 10, 2020}
\begin{document}
\maketitle
\frontmatter
\tableofcontents
\mainmatter
\chapter{First Chapter}
\lipsum[1]
\section{First Ection}
\lipsum[1-20]
\subsection{First Ection}
\lipsum[1]
\lipsum[1]
\end{document}