目录点

目录点

我正在写硕士论文,目录看起来不错,除了章节的点对齐。其他章节和小节都很好。

在此处输入图片描述

以下是 MWE:

\documentclass[  12pt,                % font size
            a4paper,                  % paper size.
            sumario=tradicional,      % traditional toc
            brazil]{abntex2}

\renewcommand{\ABNTEXchapterfont}{\normalfont\bfseries} %bold chapter

\usepackage{blindtext} 

\begin{document}

    \tableofcontents*
\blinddocument

\end{document}

我认为这与加粗章节的那行有关,并且由于某种原因改变了对齐方式

答案1

   \documentclass[  12pt,                     % font size
                a4paper,                  % paper size.
                sumario=tradicional,      % traditional toc
                brazil]{abntex2}

    %Insert TOC % -- não, você NÃO precisa disso! é inútil. 
    %    \renewcommand{\contentsname}{SUMÁRIO}
     %  \pdfbookmark[0]{\contentsname}{toc}

    \renewcommand{\ABNTEXchapterfont}{\normalfont\bfseries} %bold chapter

 \renewcommand*{\cftchapterleader}{
 \normalfont\cftdotfill{\cftsectiondotsep}}

    \usepackage{blindtext} 

    \begin{document}


        \tableofcontents*
    \blinddocument

    \end{document}

相关内容