如何使\Clause
没有标题的文件出现在目录中?
\documentclass[]{scrreprt}
\usepackage[contract,juratotoc]{scrjura}
\begin{document}
\maketitle
\tableofcontents
\chapter{First Chapter}
\section{First section}
\Clause{} % this one does not appear in the TOC
This is the text.
\Clause{title={Appears}} % this one does appear
This is the text.
\end{document}
答案1
您可以使用\Clause{title={}}
:
\documentclass[]{scrreprt}
\usepackage[contract,juratotoc]{scrjura}
\begin{document}
%\maketitle% there is no \title given
\tableofcontents
\chapter{First Chapter}
\section{First section}
\Clause{title={}} % this one appears in TOC, too
This is the text.
\Clause{title={Appears}} % this one does appear
This is the text.
\end{document}