As can be seen below, I am trying to figure out how to remove big spaces in the BibTeX based bibliography when URLs are used. I have already checked similar questions on tex.stackexchange but to no avail.
The below example also shows that this issue is evidently caused by the associated URL.
Can anyone provide me with an easy fix for this problem?
Minimal working example:
Document:
\documentclass[11pt,a4paper]{article} \usepackage{a4wide} \usepackage[breaklinks]{hyperref} \begin{document} \pagenumbering{arabic} \setcounter{page}{1} \cite{McL10a} \cite{McL10b} \bibliography{references} \bibliographystyle{alphadin} \end{document} .BibTeX-File:
% Encoding: UTF-8 @Electronic{McL10a, author = {G. Harry McLaughlin}, year = {2010}, title = {SMOG - Simple Measure of Gobbledygook}, url = {https://web.archive.org/web/20100415194430/http://webpages.charter.net/ghal/SMOG.htm}, timestamp = {2010-04-15}, } @Electronic{McL10b, author = {G. Harry McLaughlin}, year = {2010}, title = {SMOG - Simple Measure of Gobbledygook}, timestamp = {2010-04-15}, } @Comment{jabref-meta: databaseType:bibtex;} Output:
Edit1: @davidpurton - Using \Urlmuskip=0mu plus 4mu fixed the spaces in the title, but created new spaces in the url itself.


urlpackage? If not, I'd recommend starting there. Also, is this really engine-specific i.e. only occurs when you compile with pdfTeX?