1

I am using biblatex and biber. Inside the text I use the commands citet, parencites or citewith author-year. I would like to prevent that the last name sometimes gets hyphenated in the text.

Is there a command for bibsetup? Unfortunately I could not find something in the manual. Or is there any other possibility so that the last name stays as one part.

Thank you... Christian

9
  • the answer to this question might help: No hyphen for a word Nov 19, 2014 at 20:08
  • Then the entire entry is inside the box, but in my case the name must not be hyphenated but could deb separated from the year. Any further ideas?
    – ChrisP
    Nov 24, 2014 at 13:39
  • i believe that with some bibliography systems, the space between author and year in citations is set up to not break. to be able to provide a more specific answer, we will need an actual (minimal) example to experiment with. Nov 24, 2014 at 13:49
  • Crosspost to the german mrunix.
    – Johannes_B
    Nov 24, 2014 at 14:30
  • 1
    @ulrikefischer gave the answer in the german forum. Add \AtEveryCitekey{\hyphenrules{nohyphenation}} to the preamble of the document.
    – Johannes_B
    Dec 2, 2014 at 17:30

1 Answer 1

2

Ulrike gave the answer in the german forum the question was crossposted: \AtEveryCitekey{\hyphenrules{nohyphenation}}

trinixBiblatexHyphenation

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.