# References section overlapping for \bibliographystyle{IEEEtran}

I'm currently experiencing an issue where my references overlap using the \bibliographystyle{IEEEtran}

This file is based on a template from Overleaf.

I have created an example to demonstrate problem:

\documentclass[conference]{IEEEtran}

\ifCLASSINFOpdf
\usepackage{graphicx}
\graphicspath{{./img/}}
\DeclareGraphicsExtensions{.pdf,.png}
\else
\fi
\ifCLASSOPTIONcompsoc
\usepackage[caption=false,font=normalsize,labelfont=sf,textfont=sf]{subfig}
\else
\usepackage[caption=false,font=footnotesize]{subfig}
\fi

\renewcommand\IEEEkeywordsname{Keywords}

\hyphenation{}

\usepackage[utf8]{inputenc}
\usepackage{verbatim}
\begin{document}

\title{title}

\author{\IEEEauthorblockN{block\_n}
\IEEEauthorblockA{block\_a}}

\maketitle

\begin{abstract}
abstract
\end{abstract}
\begin{IEEEkeywords}
keywords;
keywords;
keywords;
\end{IEEEkeywords}

\IEEEpeerreviewmaketitle

\nocite{*}

\bibliographystyle{IEEEtran}
\bibliography{foobar}

\end{document}


Any help is much appreciated!

• Your bibfile is riddled with errors, your code produces some pdf, but it does not compile fully. I suggest fix your bib file, it might fix your problem altogether. – Elad Den Sep 24 at 5:51
• ah, your bib file is fine, it just has urls in it :) I've added an answer – Elad Den Sep 24 at 5:55

Luckily the solution is simple: \usepackage{url} sorts this out allowing you to use urls in your bib and text.