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!
General ⇒ Citation overfull hbox error
Citation overfull hbox error
- Attachments
-
- overfull hbox.jpg (231.57 KiB) Viewed 12876 times
NEW: TikZ book now 40% off at Amazon.com for a short time.
Citation overfull hbox error
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.
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.
Citation overfull hbox error
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!~
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!~