GeneralBibitem too long?

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
tdc
Posts: 34
Joined: Fri Sep 12, 2008 1:52 am

Bibitem too long?

Post by tdc »

Hi,

i have this entry in my bibliography

Code: Select all

\bibitem{img:anatomy} http://downloads.cas.psu.edu/4h/AerospaceSupp/Activities/Airplanes/Overview/PlaneLesson2.htm
and it creates an overfull hbox badbox error

if i hyphenate it (i tried with the hyphen Over\-view) it still complained... i've also tried using \mbox

the only thing that seems to work is losing the last 9 characters...

Does anyone have any suggestions (it does actually compile correctly, it just whines that there's a badbox....)

Cheers, TIm

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Stefan Kottwitz
Site Admin
Posts: 10347
Joined: Mon Mar 10, 2008 9:44 pm

Bibitem too long?

Post by Stefan Kottwitz »

Hi Tim,

there's no interword space to stretch or shrink the url, so perhaps accept an underfull box if you hyphenate manually.
Consider to use the url package:

Code: Select all

\usepackage{url}
...
\bibitem{img:anatomy} \url{http://downloads.cas.psu.edu/4h/AerospaceSupp/Activities/Airplanes/Overview/PlaneLesson2.htm}
Places where urls are allowed to break could be customized. Use \urlstyle{same} if you want your normal text style instead of the typewriter style.

Stefan
LaTeX.org admin
Post Reply