microtype
microtype copied to clipboard
Closing quotation marks don't protrude into the right margin of bibliograph with biblatex
Description
When I compile the minimal example below, which uses microtype
and biblatex
with the american
language option, using LuaLaTeX, then closing quotation marks in the bibliography don't protrude into the right margin.
If I remove csquotes
then quotation marks protrude, but then biblatex
issues a warning.
I have posted a question regarding this over at Stack Exchange previously, but it haven't been answered. There also wasn't a real consensus on where the root cause of the issue lay, which is why I post the issue here and also in biblatex
's bug tracker here.
Minimal example demonstrating the issue
\documentclass[american]{article}
\usepackage[
style=authoryear,
backend=biber,
dashed=false,
]{biblatex}
\setlength{\bibhang}{0pt}
\usepackage{filecontents}
\begin{filecontents*}{mwe.bib}
@article{andersson2011,
title={An article title that ought to have a closing quotation mark that protrudes iiinto the margin},
author={Anderson, A Lengthy List of First Names to Move the Article Title to the Next Line},
journaltitle={Review of Utter Nonsense},
date={2011},
volume={5},
}
@article{andersson2021,
title={An article title that ought to have a closing quotation mark that protrudes iiiinto the margin},
date={2021},
volume={40},
crossref={andersson2011}
}
\end{filecontents*}
\addbibresource{mwe.bib}
\usepackage[showframe, text={140mm, 230mm}]{geometry}
\usepackage{babel}
\usepackage[babel]{microtype}
\usepackage[babel]{csquotes}
\begin{document}
\noindent ``We see that quotation marks protrude into the right margin when outside the bibliography.''
\nocite{andersson2021,andersson2011}
\printbibliography
\end{document}