Search found 3 matches

by tuxx
Wed Feb 18, 2009 4:14 pm
Forum: Text Formatting
Topic: Line breaks in URLs
Replies: 11
Views: 95019

Re: Line breaks in URLs

Thanks a lot, that \sloppy did the thing along with the hyphens option.
by tuxx
Wed Feb 18, 2009 3:46 pm
Forum: Text Formatting
Topic: Line breaks in URLs
Replies: 11
Views: 95019

Line breaks in URLs

I'm compiling with pdflatex. Thanks Rasmus, but the solution doesn't seem to work:


\documentclass[10pt,a4paper]{article}
\usepackage[hyphens]{url}
\usepackage{hyperref}

\setlength{\parindent}{0em}
\setlength{\parskip}{1em}

\begin{document}

The quick brown fox jumps over the lazy dog. The ...
by tuxx
Tue Feb 17, 2009 12:23 pm
Forum: Text Formatting
Topic: Line breaks in URLs
Replies: 11
Views: 95019

Line breaks in URLs

Hi,

I have the following problem:

\usepackage{url}
\usepackage{hyperref}
...
\url{http://www.coreavc.com/index.php?option=com_content&task=view&id=27&Itemid=1}

The thing is that the URL is too long and it's not broken into multiple lines. From what I've read, it seems that the url package should ...