0

I know it is not suggested to mess with the default of the APA style, but I consider a minor change.

I would like to add a colon behind the "In" for @incollection/@inproceeding items. Does anyone know where this "In" is hidden in the apa6-style files, so that I can add a colon? Couldn't find it.

1 Answer 1

1

The standard styles have the command \intitlepunct for that, but biblatex-apa6 hard-codes the space

\newbibmacro*{in}{%
  \ifbool{bbx:in}%
    {}%
    {\global\booltrue{bbx:in}%
     \bibcpstring{in}\setunit{\space}}}

You can easily change that (note that we use \printunit and not \setunit in line with upcoming biblatex changes, see https://github.com/plk/biblatex/issues/943 and https://github.com/plk/biblatex/pull/944)

\documentclass[british]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage{csquotes}

\usepackage[style=apa6, backend=biber]{biblatex}

\addbibresource{biblatex-examples.bib}

\renewcommand*{\intitlepunct}{\addcolon\space}
\renewbibmacro*{in}{%
  \ifbool{bbx:in}%
    {}%
    {\global\booltrue{bbx:in}%
     \bibcpstring{in}%
     \printunit{\intitlepunct}}}

\begin{document}
Lorem \autocite{sigfridsson,pines,gaonkar:in,westfahl:space}
\printbibliography
\end{document}

Gaonkar, D. P. (2001). On alternative modernities. In: D. P. Gaonkar (Ed.), Alternative modernities (pp. 1–23). Durham: Duke University Press.

1
  • Fantastic! THX :)
    – kilsen
    Jul 29, 2020 at 15:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.