I would like to have a bibliography without the author names (in case you are wondering, this is for part of a bibliography in a CV). I've tried to used the clearlist command but I guess I am using it wrong.
Here is my MWE which I compiled with xelatex - biber - xelatex - xelatex:
\documentclass{article}
\usepackage[style=authoryear,maxbibnames=99]{biblatex}
\usepackage{hyperref}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% to create a file when first processed
% \begin{filecontents}[<options>]{<filename>}
% possible options: overwrite, nosearch, noheader
\begin{filecontents}{bib_2ndtry.bib}
@misc{A2020,
author = {Author, A. and Author, B. and Author C.},
year = {2020},
title = {Alpha},
}
@misc{B2021,
author = {Buthor, A.},
year = {2021},
title = {Bravo},
}
@misc{C2022,
author = {Cuthor, A. and Cuthor, B. and Cuthor, C.},
year = {2022},
title = {Charlie},
}
\end{filecontents}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% modifying bibliography items (well, trying to)
\AtEveryBibitem{
\clearlist{author}
}
\addbibresource{bib_2ndtry.bib}
\begin{document}
\nocite{*}
\printbibliography
\end{document}
In the final pdf, the authors are still included, see the attached image:
What am I missing?
