如何使无标题条款出现在 scrjura 目录中?

如何使无标题条款出现在 scrjura 目录中?

如何使\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}

在此处输入图片描述

相关内容