将目录条目设为粗体

将目录条目设为粗体

到目前为止,我想为我的研究提案创建这种目录: 在此处输入图片描述

可悲的是,我只有这一个: 在此处输入图片描述

这是我的 MWE:

\documentclass[a4paper,12pt]{report}
\usepackage{indentfirst}
    \setlength{\parindent}{2.30em}
    
\usepackage[utf8]{inputenc}

\usepackage{pdflscape}
\usepackage{lscape}
\usepackage{booktabs, tabularx}
\usepackage{mathptmx}
\usepackage{amsmath, amssymb, amsfonts}
\usepackage{bm}
\usepackage{cleveref}
\usepackage{xfrac}

\usepackage[titles]{tocloft}

\usepackage[top=1.8in, bottom=1.25in, left=1.75in, right=1.25in, headheight=1.25in]{geometry}

% Fonts
\usepackage{sectsty} 
    \allsectionsfont{\normalsize}
    \chapterfont{\normalsize \centering \bfseries}

% References
\usepackage[style=apa, backend=biber]{biblatex} % for APA 7
\addbibresource{References.bib}

%Pagination
\usepackage{fancyhdr}
    \pagestyle{fancyplain}% <- use fancyplain instead fancy
    \fancyhf{}
    \fancyhead[R]{\thepage}
    \renewcommand{\headrulewidth}{0pt}

% Caption
\usepackage{caption}
\captionsetup{format=hang, font=normalsize, labelfont=bf, justification=justified, labelsep=period}

% Graphics
\usepackage{graphicx}
    \graphicspath{{./Figure/}}
    \DeclareGraphicsExtensions{.pdf,.jpeg,.jpg,.png}

% Spacing
\usepackage{setspace} % control linespacing
    \setstretch{1.5}
    
\makeatletter 
    \patchcmd{\@makechapterhead}{\vspace*{50\p@}}{}{}{}         % Removes space above \chapter head
    \patchcmd{\@makeschapterhead}{\vspace*{50\p@}}{}{}{}        % Removes space above \chapter* head

% Renew commands
\renewcommand{\contentsname}{\MakeUppercase{Table of Contents}}

\renewcommand{\cftchapfont}{\normalfont\bfseries}% titles in bold
\renewcommand{\cftchappagefont}{\normalfont\bfseries}% page numbers in bold
\renewcommand{\cftdotsep}{1}
\renewcommand{\cftchapleader}{\bfseries\cftdotfill{\cftsecdotsep}}% dot leaders in bold

\begin{document}
    \pagenumbering{roman}

    \addcontentsline{toc}{section}{Title Page}
    
    \addtocounter{page}{1}
    \addcontentsline{toc}{section}{Table of Contents}
    \tableofcontents
    \newpage

\end{document}

如何将研究论文第 1 章之前的所有内容用粗体字号标出?非常感谢您的帮助。谢谢!

相关内容