如何删除参考书目前面的“第十章”?

如何删除参考书目前面的“第十章”?

我正在使用报告类文档,但当我打印参考书目时,我收到的却是“第 6 章”,然后在“参考书目”下面的行中显示条目。如何隐藏页面顶部的章节名称?这就是它现在的样子

\documentclass[hidelinks,12pt]{report}
\usepackage[paperheight=28cm,paperwidth=22cm,tmargin=25.4mm,bmargin=25mm,lmargin=38.1mm,rmargin=25.4mm,heightrounded]{geometry}
\usepackage{graphicx,siunitx,pdflscape}
\usepackage{tocloft}
% Add dots to the Chapter entries in the ToC
\renewcommand{\cftchapleader}{\cftdotfill{\cftdotsep}}
%Remove Chapter numbering
\setcounter{secnumdepth}{5}% Show down to subsubsection
\setlength{\cftchapindent}{-20pt}% Just some value...
\usepackage{xpatch}
\makeatletter
\xpatchcmd{\@chapter}{\addcontentsline{toc}{chapter}{\protect\numberline{\thechapter}#1}}{%
                      \addcontentsline{toc}{chapter}{\protect\numberline{}#1}}{\typeout{Success}}{\typeout{Failed!}}
\makeatother
\usepackage[table,xcdraw]{xcolor}
\usepackage[a-1b]{pdfx}
\usepackage{hyperref,xmpincl,amsmath,amssymb,graphicx,wasysym,paralist,textcomp}
\usepackage[round]{natbib}
\bibliographystyle{plainnat-reversed}
\usepackage[english]{babel}
%Change the name of the TOC from Contents to Table of Contents
\addto\captionsenglish{
  \renewcommand{\contentsname}
    {Table of Contents}
}
\usepackage[babel]{csquotes}
\usepackage[nottoc,numbib]{tocbibind}
\usepackage{setspace}
\usepackage{blindtext}
\usepackage{multirow}
\usepackage{caption}
\usepackage{float}
\usepackage{etoolbox}
\AtBeginEnvironment{thebibliography}{\interlinepenalty=10000}
\usepackage{lineno}
\setcounter{tocdepth}{5}
\usepackage{indentfirst}
\usepackage[font=bf]{caption}
%format chapter heading distance from the top of the page
\usepackage{titlesec}
\titleformat{\chapter}[display]   
{\normalfont\huge\bfseries}{\chaptertitlename\ \thechapter}{20pt}{\Huge}   
\titlespacing*{\chapter}{0pt}{-50pt}{40pt}
% Adjust Bibliography spacing between entries
\newlength{\bibitemsep}\setlength{\bibitemsep}{.2\baselineskip plus .05\baselineskip minus .05\baselineskip}
\newlength{\bibparskip}\setlength{\bibparskip}{0pt}
\let\oldthebibliography\thebibliography
\renewcommand\thebibliography[1]{%
  \oldthebibliography{#1}%
  \setlength{\parskip}{\bibitemsep}%
  \setlength{\itemsep}{\bibparskip}%
}

\begin{document}
\tableofcontents

\newpage
Some Text with a \citep{Something} citation.

\newpage 
\begingroup
    \setlength{\bibsep}{10pt}
    \setstretch{1}
    \bibliographystyle{plainnat-reversed}
    \bibliography{Mendeley_Export}
\endgroup

\end{document}

答案1

感谢 的评论,我找到了这个问题cfr

问题出在以下行

\usepackage[nottoc,numbib]{tocbibind}

numbib命令似乎已添加Chapter X文本。一旦我删除它,它现在只显示名称Bibliography。虽然我不知道为什么会这样,但它解决了我的问题。

相关内容