在段落标题后添加一个字母

在段落标题后添加一个字母

我目前已将\paragraph命令设置为类似“subsubsubsection”的功能。但我想在每个\paragraph编号后添加一个字母“a”。我不熟悉 LaTeX 中的所有命令。我该如何修改现有命令来实现这一点?目前,我使用

\makeatletter
\renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}%
                                     {-3.25ex\@plus -1ex \@minus -.2ex}%
                                     {1.5ex \@plus .2ex}%
                                     {\normalfont\normalsize\bfseries}}
\makeatother
\setcounter{secnumdepth}{4}

每个段落标题看起来像

在此处输入图片描述

但我想在数字后添加一个“a”,所以我想将编号更改为如下形式5.2.1.1.a反而。

答案1

您只需将编号更改为以下内容:

\renewcommand{\theparagraph}{\thesubsubsection.\arabic{paragraph}.a}

相关内容