I am formatting a bibliography for a journal that insists on lots of stupid changes to standard styles, using biblatex. The closest to what they want is AuthorYear, so I am starting from that. I have got most of it done, but two things remain. I am putting them in separate questions as they are sufficiently different.
For InCollection entries, I currently get:
Eaton, A. W. (2016). Taste in Bodies and Fat Oppression. In Body Aesthetics. Ed. by Sherri Irvin. Oxford University Press, 37–59.
What I need is:
Eaton, A. W. (2016). Taste in Bodies and Fat Oppression. In Sherri Irvin (Ed.), Body Aesthetics (37–59). Oxford University Press.
How do I get the edited volume information correct? (I realise that what they want here is much closer to APA than to AuthorYear, but what they want for most entries is much closer to AuthorYear than APA)
Here is an MWE:
\documentclass{article}
\usepackage[bibstyle=authoryear, citestyle=authoryear]{biblatex}
%deletes colon from in for collections
\renewcommand*{\intitlepunct}{%
\ifentrytype{incollection}
{\addspace}
{\addcolon\space}}
%deletes location from books
\AtEveryBibitem{\clearlist{location}}
\usepackage{filecontents}
\begin{filecontents}{ref.bib}
@InCollection{eaton2016,
author = {A. W. Eaton},
date = {2016},
title = {Taste in Bodies and Fat Oppression},
booktitle = {Body Aesthetics},
editor = {Sherri Irvin},
location = {Oxford},
pages = {37--59},
publisher = {Oxford University Press},
crossref = {irvin2016},
}
}
\end{filecontents}
\addbibresource{ref.bib}
\begin{document}
\textcite{eaton2016}
\printbibliography
\end{document}

\documentclass{...}, the required\usepackage's,\begin{document}, and\end{document}. That may seem tedious to you, but think of the extra work it represents for the users willing to give you a hand. Help them help you: remove that one hurdle between you and a solution to your problem. – samcarter_is_at_topanswers.xyz Oct 05 '23 at 11:39filecontents. It's part of the kernel. – lukeflo Oct 05 '23 at 15:40