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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
Stefan Kottwitz
Site Admin
Posts: 10360
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