2

I have some URL entries in my bibliography. In several of them, I noticed that a break after "http://" instead of after "http" would improve both layout and readability. This is how one entry looks like right now: enter image description here

How can I enforce a break after "http://" instead? Or, is ist possible to remove the "http://" altogether (only have it in the link?)

This is how the URL is provided:

howpublished = {\url{http://www.harrisgeospatial.com/ProductsandSolutions/GeospatialProducts/ENVI.aspx}}, 

1 Answer 1

2

You can prevent breaks after the colon:

\documentclass{article} \usepackage{url} \usepackage{etoolbox} \textwidth=0.5cm \begin{document} blbl \url{http://www} \appto\UrlNoBreaks{\do\:} blbl \url{http://www} \end{document} 

enter image description here

Removing the http:// would be easy with biblatex/biber (but more difficult if the link should remain clickable). With bibtex you would imho have to patch \url.

1

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.