8

The answer to this question states that "van" prefix should be in capitals when it appears at the beginning of a sentence. But the code below typesets "van Dijk". How can I get "Van Dijk" when it appears at the beginning of a sentence?

\documentclass{scrartcl}            
\usepackage[style=authoryear,sorting=nyt,backend=biber,useprefix=false]{biblatex}
\usepackage{filecontents}
\begin{filecontents*}{\jobname.bib}
@book{dijk,
  author       = {van Dijk, A.},
  title        = {Some Nice Title},
  date         = 2015,
  publisher    = {P. Ublisher},
  location     = {Place},
}
\end{filecontents*}   
\bibliography{\jobname.bib}  

\renewbibmacro*{begentry}{\midsentence}

\makeatletter
\AtBeginDocument{\toggletrue{blx@useprefix}}
\makeatother

\begin{document}  
\textcite{dijk} not capitalising start of sentence
\printbibliography  
\end{document}

enter image description here

1
  • The answer to the linked question does not seem to say what you claim. The rule for Dutch prefixes is that the first one is capitalized when the first name or first initial is does not precede it, except when it is a shortened version (with an apostrophe). See for example this article.
    – hkBst
    Commented Jul 10, 2015 at 7:55

1 Answer 1

10

The \textcite command uses the standard capitalization; however the biblatex package provides \Textcite for use at the beginning of a sentence (section 3.7.2 of the manual).

\documentclass{scrartcl}            
\usepackage[style=authoryear,sorting=nyt,backend=biber,useprefix=false]{biblatex}
\usepackage{filecontents}
\begin{filecontents*}{\jobname.bib}
@book{dijk,
  author       = {van Dijk, A.},
  title        = {Some Nice Title},
  date         = 2015,
  publisher    = {P. Ublisher},
  location     = {Place},
}
\end{filecontents*}   
\bibliography{\jobname.bib}  

\renewbibmacro*{begentry}{\midsentence}

\makeatletter
\AtBeginDocument{\toggletrue{blx@useprefix}}
\makeatother

\begin{document}  
\Textcite{dijk} capitalising start of sentence
\printbibliography  
\end{document}

enter image description here

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .