从 bib 中删除标题:未定义的控制序列 \AtEveryBibitem

从 bib 中删除标题:未定义的控制序列 \AtEveryBibitem

我想从参考文献中删除标题。我使用以下代码:

\documentclass[a4paper,twoside,11pt,usenames,dvipsnames]{article}
\usepackage
[
        a4paper,
        left=2cm,
        right=2cm,
        top=1.5cm,
        bottom=1.5cm,
]
{geometry}
\bibliographystyle{unsrt}
\AtEveryBibitem{\clearfield{title}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% DOCUMENT
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\cite{bib1}
\bibliography{mini.bib}
\end{document}

当我编译时,它返回错误“未定义控制序列 \AtEveryBibitem”。我该如何修复这个问题?我使用了回答。

相关内容