请帮助我删除段落和小段编号上的点

请帮助我删除段落和小段编号上的点

我需要帮助,您能告诉我如何删除段落级别和子段落级别的点吗?现在,它显示 aa)。bb)。1)。2)。我想要读成 aa) bb) 1) 2) 非常感谢您的帮助!

\documentclass{scrbook}

\usepackage[british]{babel}

\usepackage[style=british]{csquotes}

\usepackage[T1]{fontenc}

\usepackage[style=oscola,
        backend=biber,
        citepages=suppress,
        ecli=yes,
        babel=hyphen]{biblatex}


\usepackage{enumitem}


\usepackage{alphalph}


\renewcommand\thepart{\Alph{part}}


\renewcommand\thesection{\Roman{section}}

\renewcommand\thesubsection{\arabic{subsection}}

\renewcommand\thesubsubsection{\alph{subsubsection}}

\renewcommand\thesubparagraph{\arabic{subparagraph})}

\makeatletter\newalphalph{\alphMult}[mult]{\@alph}{26}\makeatother

\renewcommand\theparagraph{\alphMult{\value{paragraph} + 26})}

\makeatother

\begin{document}

\setcounter{secnumdepth}{5}

\setcounter{tocdepth}{5}

\tableofcontents

\chapter{Introduction: Setting the Scene}

\section{ddd}

\subsection{fff}

\subsection{fff}

\subsubsection{ddd}

\subsubsection{ddd}

\paragraph{edd}

\paragraph{edd}

\subparagraph{dd}

\subparagraph{dd}

\end{document}

答案1

您可以重新定义\paragraphformat\subparagraphformat删除\autodot并插入)

\renewcommand*\paragraphformat{\theparagraph)\enskip}
\renewcommand*\subparagraphformat{\thesubparagraph)\enskip}

要更改目录条目,您可以使用

\RedeclareSectionCommands[
    tocentrynumberformat=\numendsymbol{)}
  ]{paragraph,subparagraph}
\newcommand*{\numendsymbol}[2]{\def\autodot{#1}#2}

如果您想调整目录中数字的空间,您可以使用:

\RedeclareSectionCommands[
    tocnumwidth=1.5em,
    tocdynnumwidth
  ]{section,subsection,subsubsection,paragraph,subparagraph}

例子:

\documentclass{scrbook}
\usepackage[british]{babel}
\usepackage[style=british]{csquotes}
\usepackage[T1]{fontenc}

%\usepackage[style=oscola,
        %backend=biber,
        %citepages=suppress,
        %ecli=yes,
        %babel=hyphen]{biblatex}

\usepackage{enumitem}
\usepackage{alphalph}

\renewcommand\thepart{\Alph{part}}
\renewcommand\thesection{\Roman{section}}
\renewcommand\thesubsection{\arabic{subsection}}
\renewcommand\thesubsubsection{\alph{subsubsection}}
\renewcommand\thesubparagraph{\arabic{subparagraph}}

\makeatletter
\newalphalph{\alphMult}[mult]{\@alph}{26}\makeatother
\renewcommand\theparagraph{\alphMult{\value{paragraph} + 26}}
\makeatother

\renewcommand*\paragraphformat{\theparagraph)\enskip}
\renewcommand*\subparagraphformat{\thesubparagraph)\enskip}

\RedeclareSectionCommands[
    tocentrynumberformat=\numendsymbol{)}
  ]{paragraph,subparagraph}
\newcommand*{\numendsymbol}[2]{\def\autodot{#1}#2}

\RedeclareSectionCommands[
    tocnumwidth=1.5em,
    tocdynnumwidth
  ]{section,subsection,subsubsection,paragraph,subparagraph}

\setcounter{secnumdepth}{\subparagraphnumdepth}
\setcounter{tocdepth}{\subparagraphtocdepth}
\begin{document}
\tableofcontents
\chapter{Introduction: Setting the Scene}
\section{ddd}
\subsection{fff}
\subsection{fff}
\subsubsection{ddd}
\subsubsection{ddd}
\paragraph{edd}
\paragraph{edd}
\subparagraph{dd}
\subparagraph{dd}
\end{document}

在此处输入图片描述

在此处输入图片描述

相关内容