GeneralReference with extra spaces.

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
jfrog
Posts: 2
Joined: Fri Sep 26, 2008 2:18 am

Reference with extra spaces.

Post by jfrog »

Hello,

My references are being "double spaced" horizontally. They look like this:

Image


Here is my bibliography:

Code: Select all

\begin{thebibliography}{9}
\bibitem{JSqueue}
	János Sztrik, ``Practical Queueing Theory in Java'', University of Debrecen,
	http://irh.inf.unideb.hu/user/jsztrik/education/09/english/index.html
\end{thebibliography}
And here is my preamble:

Code: Select all

\documentclass[]{article}  % list options between brackets
\usepackage{graphicx}
\usepackage{amsthm}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{latexsym}

\textwidth = 6.5 in
\textheight = 9 in
\oddsidemargin = 0.0 in
\evensidemargin = 0.0 in
\topmargin = 0.0 in
\headheight = 0.0 in
\headsep = 0.0 in
\parskip = 0.2 in
\parindent = 0.0in

\begin{document}

Why am I getting those huge ugly spaces in my references? How can I get rid of them?

Thanks!

Recommended reading 2024:

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

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

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Reference with extra spaces.

Post by localghost »

jfrog wrote:[...] Why am I getting those huge ugly spaces in my references? How can I get rid of them? [...]
There are no hyphenation rules for the long URL. So the line is filled with white space. You can try the url or the breakurl package. I guess the hyperref package may offer this solution, too. For further information take a look at the documentation of the packages.


Best regards
Thorsten¹
jfrog
Posts: 2
Joined: Fri Sep 26, 2008 2:18 am

Re: Reference with extra spaces.

Post by jfrog »

Thanks!! I just took the easy way out and broke the url myself. :)
Post Reply