I would like to remove the title from the references. I use the following code:
\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}
When I compile, it returns me the error "Undefined control sequence \AtEveryBibitem". How can I fix this? I used this answer.
\AtEveryBibitemis abiblatexcommand, but you've not loadedbiblatex: what is the intention here? – Joseph Wright Dec 01 '22 at 18:53biblatex. You use classical BibTeX and\bibliographystyleto generate your bibliography. As such you cannot usebiblatexsolutions withbiblatexcommands like\AtEveryBibitem. If you want to get rid of titles with BibTeX, you'll have to modify a renamed copy of the.bstfile you use (unsrt.bstin your case). – moewe Dec 01 '22 at 19:51