我正在使用 KOMA 脚本类,需要在论文末尾添加附录。
问题是:我希望在附录中添加标题和作者部分,就像我在主文档中添加的一样
有什么想法可以做到这一点吗?以下解决方案(使用\author{John Doe}
and \maketitle
after \appendix
)不起作用
\documentclass[11pt,captions=nooneline,DIV=14, parskip=half]{scrartcl}
\begin{document}
\title{my title}
\author{John Doe}
\date{ }
\maketitle
\begin{abstract}
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum
\end{abstract}
\section{Introduction}
intro
\appendix
\section{appendix}
% does not work unfortunately. Nothing appears
\author{John Doe}
\end{document}
谢谢!
答案1
自 KOMA-Script 3.12(2013 年 5 月的 Beta 版或 2013 年 12 月的发布版)以来,所有 KOMA-Script 类都支持文档中的多个标题。因此,您可以简单地使用,例如,
\documentclass[11pt,captions=nooneline,DIV=14, parskip=half]{scrartcl}[2013/05/29]% Need at least an early state of KOMA-Script 3.12
\begin{document}
\title{my title}
\author{John Doe}
\date{ }
\maketitle
\begin{abstract}
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum
\end{abstract}
\section{Introduction}
intro
\appendix
% does not work unfortunately. Nothing appears
\title{Appendix}
\author{John Doe}
\maketitle
\end{document}
生成附加附录标题: