我的报告还需要一个编号级别。我使用 \paragraph{title} 但它只出现没有编号。
在配置文件中,该段落描述为:
\titleformat{\paragraph}[runin]
{\normalfont\normalsize}{\theparagraph}{0pt}{\spacedlowsmallcaps}
我相信该命令\theparagraph负责编号。为什么不出现?
我在网上搜索了答案,并在文档开始之前(一次)尝试了以下命令:
\setcounter{secnumdepth}{\paragraphnumdepth}- 用以下命令替换前面的命令以摆脱磨合:
\titleformat{\paragraph}
{\relax}{\textsc{\MakeTextLowercase{\theparagraph}}}{1em}{\normalsize\itshape}
\renewcommand{\theparagraph}{\thesubsection.\arabic{paragraph}}
我把最后两个命令放在\makeatletterand中\makeatother。
段落名称现在看起来像节名称,但仍然没有数字。有任何想法吗?这是一个有效的小示例,因为我没有包含 classicthesis 配置文件。
\documentclass{scrreprt}
\usepackage[utf8]{inputenc}
\setcounter{secnumdepth}{\paragraphnumdepth}
\begin{document}
\chapter{Chapitre}
\section{Introduction}
\subsection{Première sous-partie}
\subsubsection{Un cran en dessous}
\paragraph{Paragraphe with number: what I would like in my report}
Functional here because the problem clearly comes from the two classicthesis config files...
\end{document}
谢谢