I have a very long url to show in the references, I am using BibTex and the package url, but I still the url breaks once and not twice as it should.
Asked
Active
Viewed 64 times
0
barbara beeton
- 88,848
1 Answers
3
Use xurl package.
\begin{filecontents*}{sample.bib}
@online{savitsky1976procedures,
title={Procedures for hydrodynamic evaluation of planing hulls in smooth and rough water},
author={Savitsky, Daniel and Brown, P Ward},
journal={Marine Technology},
volume={13},
number={4},
pages={381--400},
year={1976},
url={https://www.scribd.com/document/380272322/Savitsky-Brown-1976-Procedures-for-Hydrodynamic-Evaluation-of-Planing-Hulls-in-Smooth-Rough-Water-pdf}
}
\end{filecontents*}
\documentclass[]{book}
\usepackage[square,numbers]{natbib}
\usepackage{xurl}
\begin{document}
\cite{savitsky1976procedures}
\bibliographystyle{IEEEtran}
\bibliography{sample}
\end{document}
Al-Motasem Aldaoudeyeh
- 6,100

xurlinstead ofurl. Please see that is a relative new package, you need an up-to-date tex distribution! If that does not help show us please the complete bib entry you used and the tex code you used to build the bibliography. Make sure it is compilable! – Mensch May 27 '19 at 10:23