no automatically word wrap with bibliography
Asked Answered
P

1

6

I have a problem with my biblatex. My booktitles don't automaticly break lines in my bibliography. Has someone got a hint how to solve this? Is it possible to get an automatic break or do I have to set them manually? And if I so, how do I do that?

Here my biblatex code snippets:

\usepackage[backend=biber,style=authoryear,sorting=nyt,citestyle=authoryear]{biblatex}
\printbibliography[type=book,title={Books}]

See this example at IEEE: after Metrics is a linebreak is missing.

biblio screeny

EDIT: I found the solution here

I was curious about the \emph{} style (mine was always underlining). I put a single \normalem in front of the \printbibliography command and it works fine :)

\normalem
\printbibliography[type=book,title={Books}]
Phytophagous answered 3/7, 2014 at 14:28 Comment(2)
For future reference, ask (La)TeX-related question on TeX - LaTeX.Rugg
Thank you SO MUCH. I have to hand in my thesis in a few hours and this was NOT something I wanted to have to deal with.Gloam
C
3

Your book titles are underlined, which is preventing line breaks (underlined text doesn't break). I don't think this is a standard behavior, book titles are usually displayed in italics. Perhaps you are using \underline{} inside your bibliography items definitions?

Cookery answered 3/7, 2014 at 21:38 Comment(2)
hi miguel, thanks for the inside :) i didn't know that. I guess that the bibliography uses \emph{} and mine is underlining instead of using italic. Someone know how to change that?Phytophagous
For me, the reason for non-standard behavior was the loading the package ulem which replaces italics with underlines unless you set the option normalem when loading the package, e.g. \usepackage[normalem]{ulem}Iulus

© 2022 - 2024 — McMap. All rights reserved.