LaTeX users online

In total there are 17 users online :: 0 registered, 0 hidden and 17 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 17 guests

Citation overfull hbox error

LaTeX Forum: General

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

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!
overfull hbox.jpg
overfull hbox.jpg (231.57 KiB) Viewed 3644 times
Posts: 7
Joined: Sat Nov 29th, 2008

Postby phi on Sat Nov 29th, 2008

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.
Posts: 577
Joined: Tue Oct 21st, 2008

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.

Posts: 7
Joined: Sat Nov 29th, 2008

Return to General

LaTeX users online

Users browsing this forum: No registered users and 17 guests