无法使用 BibTeX 从参考书目中删除标题

无法使用 BibTeX 从参考书目中删除标题

我无法删除参考书目的标题。使用此代码,它还会删除上一章的标题,我不希望发生这种情况。不使用诸如 之类的特殊包hyperref

梅威瑟:

\documentclass[a4paper,11pt]{book}
\pdfpagewidth
\paperwidth
\pdfpageheight
\paperheight
\usepackage[italian]{babel}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{graphicx}
\makeindex
\usepackage{url}
\usepackage{fancyhdr}
\usepackage{geometry}
\usepackage{rotating}
\usepackage{caption}
\geometry{a4paper,tmargin=3cm,bmargin=4cm, lmargin=3.7cm,rmargin=3.7cm} 
\usepackage{multirow}
\usepackage{splitbib}

\begin{document}

Text,

previous chapter


\pagestyle{plain}
\sloppy

\begin{category}[]{Fonti delle figure}
  \SBentries{example}
\end{category}

\bibliographystyle{plain}
\addtocounter{chapter}{1}
\cleardoublepage
\addcontentsline{toc}{chapter}{\protect\numberline{\thechapter}\bibname}
\bibliography{Bibname}

\end{document}

答案1

我认为您正在寻找\renewcommand\bibname{}

以下是 MWE:

\documentclass[a4paper,11pt]{book}
\usepackage[italian]{babel}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lipsum}

\begin{document}
\nocite{*}%Silently cite all the entries in the bibliography file

\tableofcontents

\chapter{My First Chapter}
\lipsum[2-4]

\chapter{My Second Chapter}
\lipsum[2-4]

\bibliographystyle{plain}

\addtocounter{chapter}{1}

\renewcommand\bibname{My Custom Bibliography Name for TOC}
\addcontentsline{toc}{chapter}{\protect\numberline{\thechapter}\bibname}

%\renewcommand\bibname{Bibliography}
\renewcommand\bibname{}%leave blanc if you do not want to have the heading

%\bibliography{Bibname}
\begin{thebibliography}{10}
\bibitem{RefXX}
J.~Doe and J.~Black.
\newblock A review on something.
\newblock {\em Journal of Something}, 196(15):6007--6014, 2016.
\end{thebibliography}

\end{document}

相关内容