句首的 van 前缀不是大写

句首的 van 前缀不是大写

回答这个问题规定“van”前缀出现在句首时应大写。但下面的代码排版为“van Dijk”。当“van”出现在句首时,我该如何得到“Van Dijk”?

\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}

在此处输入图片描述

答案1

\textcite命令使用标准大写字母;然而,该biblatex软件包规定\Textcite可以在句首使用(手册第 3.7.2 节)。

\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}

在此处输入图片描述

相关内容