I am using biblatex with the biber backend for my bibliography. The problem I encountered is that margins are not always respected. It seems to be a fairly common issue, cf. these possibly related questions (answers do not apply as far as I can tell):

Repro code

I used the showframe package to help visualize the spilling.


    author = {Cheng, Peng and LaValle, Steven M.},
    journal = {International Journal of Robotics Research},
    pages = {1--37},
    title = {{Resolution completeness for sampling-based motion planning with differential constraints}},
    year = {2004}





Reference spilling in margin

So how can I solve this? Who's the culprit here? Is there workaround for this issue?


As @Johannes_B pointed out, the issue is with the hyphenation. Possible workarounds involve \raggedright (see No hyphens in biblatex) or \sloppy (see Hyphenation in bibliography with Biblatex).

With \appto{\bibsetup}{\raggedright}:

enter image description here

With \appto{\bibsetup}{\sloppy}:

enter image description here

  • or directly write samp\-ling, or maybe sam\-pling in your bib file.
    – pluton
    Jan 15 '16 at 9:36
  • In this particular case the problem is that words already containing a hyphen cannot be hyphenated anywhere except at the hyphen. So sampling-based only breaks at the -. It may already help to add the possible break-points sampling and based back in manually. See also tex.stackexchange.com/q/2706/35864, tex.stackexchange.com/q/63232/35864. (This is mentioned in the comments under the question that this answer refers to, but it might still be good to have it mentioned here explicitly.)
    – moewe
    Aug 2 at 6:34
  • For more help on general line breaking problems, see tex.stackexchange.com/q/442308/35864
    – moewe
    Aug 2 at 6:35

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.