Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I couldn't find a solution to my problem searching. Apologies if it has been asked before.

My problem is: on a few of my bibliography entries, there are massive spaces in the text to pad out the lines, how can I avoid this to improve the appearance?

enter image description here

share|improve this question
    
Does this question help with your problem? –  doncherry May 10 '11 at 20:04
    
Ahh, it did! Thank you very much @doncherry. I noticed the hyphenbreaks option in the breakurl package which solved my problem –  GP89 May 10 '11 at 23:02
    
Great! So if your problem was the same as the one in the other question, we could close this thread as a duplicate, or you should post your solution as an answer here and accept it. –  doncherry May 11 '11 at 11:18
add comment

2 Answers 2

...
\usepackage{ragged2e}
\edef\UrlBreaks{\do\-\UrlBreaks}% after loading url or hyperref
...
...
\begingroup
\RaggedRight
\bibliographystyle{...}
\bibliography{...}
\endgroup
share|improve this answer
    
Thank you for your answer! It's getting closer, although it's not quite right: bib entry. Would including some of my preable be helpful? –  GP89 May 10 '11 at 20:21
    
provide the complete source of the bib entry –  Herbert May 10 '11 at 20:29
    
@misc{pokerBOOM, title = {After `Black Friday,' American Poker Faces Cloudy Future}, author = {Nate Silver}, howpublished = {\url{fivethirtyeight.blogs.nytimes.com/2011/04/20/…}}, year = {(accessed May 10, 2011)}, } –  GP89 May 10 '11 at 21:08
add comment
up vote 1 down vote accepted

I solved the problem by including the hyphenbreaks option in the breakurl package.

\usepackage[hyphenbreaks]{breakurl}
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.