0

I would like to ask for help regarding writting bibliography. In bibliography section the Latex compiler puts huge gaps between the words. I would be grateful if someone could tell me how to get rid off them.

The code:

\begin{thebibliography}{99}
    \bibitem{tesla}
    \emph{Model S $\mid$ Tesla}.Tesla [online].[cit. 2017-04-29]. Dostupné z: https://www.tesla.com/models

\end{thebibliography}

enter image description here

1
\documentclass{article}

\usepackage[hyphens]{url}

\begin{document}

\begin{thebibliography}{99}
    \bibitem{tesla}
    \emph{Model S $\mid$ Tesla}.Tesla [online].[cit. 2017-04-29]. Dostupné z: \url{https://www.tesla.com/models}

\end{thebibliography}

\end{document}

enter image description here

Not the answer you're looking for? Browse other questions tagged or ask your own question.