Featured Book

LaTeX Beginners Guide

Who is online

In total there are 22 users online :: 0 registered, 0 hidden and 22 guests (based on users active over the past 5 minutes)
Most users ever online was 1327 on Tue Nov 05, 2013 7:11 pm

Users browsing this forum: No registered users and 22 guests

Partner Sites

TeXwelt - Fragen und Antworten goLaTeX
TeXblog
TeXnicCenter
TeXample

Citation overfull hbox error

Add tags LaTeX specific issues not fitting into one of the other forums of this category.

Citation overfull hbox error

Postby RexMundi on Sat Nov 29th, 2008

Hi, i've been using LaTeX for about a year now but I'm still relatively new to this awesome typesetting environment.

I have a problem with in-text citations. Sometimes I need to cite several authors at once using \citep and the natbib package. The problem occurs when the text is justified which causes sometimes the citation to break the text margin on the right. It looks horrible and I dont understand why LaTeX can't fix this itself by just moving the next author to the next line. See attachment.

Any help, tips or tricks would be gladly appreciated. Thanks!
Attachments
overfull hbox.jpg
overfull hbox.jpg (231.57 KiB) Viewed 2632 times
RexMundi
 
Posts: 7
Joined: Sat Nov 29th, 2008

Re: Citation overfull hbox error

Postby phi on Sat Nov 29th, 2008

Hello,
normally, breaking between citations is allowed. Perhaps breaking before "Karato" would result in an underfull box, so LaTeX doesn't break there. What happens if you insert \linebreak right in front of this citation? Do you get an underfull box? If so, try the option breaklinks for the hyperref package.
phi
 
Posts: 578
Joined: Tue Oct 21st, 2008

Re: Citation overfull hbox error

Postby RexMundi on Mon Dec 1st, 2008

omg! That so worked! I had no idea it was a problem with the hyperref package. I do get some warning:

You have enabled option 'breaklinks' but driver hdvips.def does not support this. Expect trouble with the link areas of broken links.

No biggie i guess.

Cheers!~
RexMundi
 
Posts: 7
Joined: Sat Nov 29th, 2008


Return to General

Who is online

Users browsing this forum: No registered users and 22 guests