段落内作者不用连字符

段落内作者不用连字符

我正在使用 biblatex 和 biber。在文本中,我使用命令citetparencitescite使用 author-year。我想防止姓氏有时在文本中被连字符。

有 bibsetup 命令吗?不幸的是,我在手册中找不到。或者还有其他方法可以将姓氏保留为一个部分。

谢谢...克里斯蒂安

答案1

乌尔里克在德国论坛上给出了答案问题已交叉发布\AtEveryCitekey{\hyphenrules{nohyphenation}}

trinixBiblatex连字

\begin{filecontents*}{\jobname.bib}
@book{Bruchmueller2001,
Author = {Bruchm{\"u}ller, H.-G. and Haug, A.},
Note = {Schriftenreihe report -- Band 40},
Publisher = {Leuchtturm-Verlag},
Title = {Labordidaktik f{\"u}r Hochschulen -- Eine Einf{\"u}hrung zum Praxisorientierten Projekt-Labor},
Year = {2001}}

@book{DiBerardinis2013,
Author = {{DiBerardinis}, L. J. and Baum, J. S. and First, M. W. and Gatwood, G. T. and Seth, A. K.},
Publisher = {John Wiley \& Sons, Inc.},
Subtitle = {health, safety, and environmental considerations},
Title = {Guidelines for laboratory design},
Year = {2013}}
\end{filecontents*}


\documentclass{scrbook}

\usepackage[english,ngerman]{babel}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}

\usepackage{filecontents}

\usepackage[style=authoryear,%
backend=biber,%
maxcitenames=2,%
maxitems=999,%
language=ngerman,
maxbibnames=99,%
natbib
]{biblatex}
\addbibresource{\jobname.bib}


\setlength{\textwidth}{4cm}
\usepackage{showframe}
\AtEveryCitekey{\hyphenrules{nohyphenation}}
\begin{document}
test word~\cite[vgl.][]{Bruchmueller2001}.\par
test word~\citet{Bruchmueller2001}.\par
test word~\parencites{Bruchmueller2001}.\par
test word~\cite[vgl.][]{DiBerardinis2013}.\par
test word~\citet{DiBerardinis2013}.\par
test word~\parencites{DiBerardinis2013}.\par
\end{document}

相关内容