Text FormattingGaps appearing between words

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
notnek
Posts: 11
Joined: Mon Dec 07, 2009 5:09 pm

Gaps appearing between words

Post by notnek »

I included the following reference in my document:

Code: Select all

\documentclass[12pt,a4paper]{article}

\usepackage{amssymb}
\usepackage[fleqn]{amsmath}
\usepackage{tikz}
\usepackage{amssymb}
\usepackage{multirow,bigdelim}
\usepackage{blkarray}
\usepackage{chngcntr}
\usetikzlibrary{matrix}

\linespread{1.5}
\tolerance = 10000

\setlength{\oddsidemargin}{8mm}
\setlength{\evensidemargin}{8mm}
\setlength{\topmargin}{-5mm}
\setlength{\textwidth}{145mm}
\setlength{\textheight}{220mm}

\begin{document}
\begin{thebibliography}{99}

\bibitem{quaternionshist2}
A. Burbanks,
{\it Quaternions in C++\/},
(Loughborough University, URL (cited on 7 April 2011):
\texttt{www.lboro.ac.uk/departments/ma/gallery/quat/src/quat.ps}, 1996).

\end{thebibliography}
\end{document}
\
and large gaps appeared between some of the words. There are no gaps if I remove the URL:

Code: Select all

\bibitem{quaternionshist2}
A. Burbanks,
{\it Quaternions in C++\/},
(Loughborough University, 1996).
Does anyone know why this is occuring and how to remove the gaps?
Last edited by notnek on Fri Apr 08, 2011 5:31 pm, edited 1 time in total.

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: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Gaps appearing between words

Post by Stefan Kottwitz »

Hi notnek,

for URLs I recommend to use the url package and its command \url{...} instead of \texttt.

Stefan
LaTeX.org admin
Post Reply