How can I suppress hyphenation in biblatex?
(I know that only one sentence usually is considered bad question quality, but why over-complicate a simple (?) problem)
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It only takes a minute to sign up.
Sign up to join this communityHow can I suppress hyphenation in biblatex?
(I know that only one sentence usually is considered bad question quality, but why over-complicate a simple (?) problem)
It's a good idea to disable hyphenation in bibliographies, but it will only yield acceptable results if you also disable justification, that is, if you set your bibliography with no hyphenation plus ragged-right (to suppress awkward stretching and shrinking of inter-word space). The command that switches to a right rag and (implicitly) turns off hyphenation is \raggedright
.
Now, biblatex
has a command called \bibsetup
:
\bibsetup:
Arbitrary code to be executed at the beginning of the bibliography, intended for commands which affect the layout of the bibliography.
So let's append \raggedright
to whatever else is already contained in \bibsetup
:
\documentclass[10pt,DIV=5]{scrartcl}
\usepackage[style=authoryear]{biblatex}
\usepackage{filecontents}
\begin{filecontents}{testbib.bib}
@INCOLLECTION{Cahn97,
author = {Cahn, Michael},
title = {Die Rhetorik der Wissenschaft im Medium der Typographie: Zum Beispiel die Fußnote},
year = {1997},
pages = {91-109},
crossref = {RHW97}}
\end{filecontents}
\appto{\bibsetup}{\raggedright}
\bibliography{testbib.bib}
\begin{document}
\cite{Cahn97}
\printbibliography
\end{document}
hyphenpenalty
: tex.stackexchange.com/questions/51263/…