5

I'm currently working on my thesis and I am trying to cite a Dutch author. Some Dutch surnames have a "von" component (e.g., van, van der, de) which should be capitalized if and only if the first name is not included.

To remedy this, natbib allows you to use either \citet or \Citet to manage the capitalization. The \Citet command, however, seems to be broken when the numbers option is used. In this case, the "von" component is left uncapitalized.

Below I have included a MWE.

.tex:

\documentclass{article}
\usepackage[numbers]{natbib}

\begin{document}

\citet{vannoort}

\Citet{vannoort}

\bibliography{library}
\bibliographystyle{unsrtnat}

\end{document}

.bib:

@article{vannoort,
author={van Noort, Thomas},
title={An important paper},
year=2010,
}

Is there a way to solve this?

Mico
  • 506,678
irundaia
  • 193

2 Answers2

3

I ran into this issue as well and emailed the maintainer of natbib to report the bug, using the contact email provided in the documentation.

Here is the most relevant part of the reply:

I will submit a new version shortly […]. For now you can make the following fix: On line 494 of natbib.sty, replace

\else \NAT@nm

with

\else \NAT@nmfmt{\NAT@nm}%

So it was indeed a bug, and it will be fixed soon :)

Clément
  • 4,004
2

To add to Clément's answer: in settings with an old version of natbib that's hard to update (e.g. Overleaf), you can use the etoolbox package's \patchcmd to fix the bug yourself:

\usepackage{etoolbox}

\makeatletter \patchcmd{\NAT@test}{\else \NAT@nm }{\else \NAT@nmfmt{\NAT@nm}}{}{} \makeatother

Ziv
  • 31