`\documentclass[11pt,a4paper]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[english,italian]{babel}
\usepackage[%bindingoffset=1.5cm,
left=3cm, right=3cm, top=3cm, bottom=3cm]{geometry}
\usepackage{url}
\def\UrlBreaks{\do\/\do-}
\begin{document}
\title{Titolo}
\author{Autore}
%\date{10 dicembre 2015}
\maketitle
\begin{thebibliography}{}
\bibitem{Dickson}\textsc{Dickson, N.} \emph{Local Air Quality and ICAO Engine Emissions Standards} \url{http://www.icao.int/Meetings/EnvironmentalWorkshops/Documents/2014-Kenya/4-1_LAQ-Technology_notes.pdf}
\bibitem{flight}\textsc{FlightAware},
\emph{} \url{https://it.flightaware.com/}
\bibitem{ge}\textsc{GE Aviation},
\emph{} \url{http://www.geaviation.com/commercial/engines/ge90/}
\bibitem{Iasg}\textsc{IASG}, \emph{The PW4000 100} \url{http://www.iasg.co.uk/pdfs/articles/engine_services/Pages%20from%20CAVR_Mar_06.pdf}
\bibitem{pratt_whitney}\textsc{Pratt \& Whitney},
\emph{} \url{http://www.pw.utc.com/PW4000100_Engine}
\bibitem{Standford}\textsc{Standford University}, \emph{The GE90 – An Introduction} \url{http://web.stanford.edu/~cantwell/AA283_Course_Material/GE90_Engine_Data.pdf}
\bibitem{wikipedia}\textsc{Wikipedia},
\emph{} \url{https://en.wikipedia.org/wiki/Pratt_%26_Whitney_PW4000}
\end{thebibliography}
\end{document}
`
Ciao. Scrivo qui perché ho un problema con un url nella bibliografia, che sto scrivendo con thebibliography.
Nel riferimento bibliografico [4], mi sembrava ci fosse troppo spazio tra The PW4000 100 (si veda prima figura). Ho provato a inserire nel preambolo
`\def\UrlBreaks{\do\/\do-}`
e effettivamente quello spazio si è ridotto (si veda seconda figura). Ho due problemi però:
1)la tilde che compare nell’url al riferimento bibliografico [6], è normale che sia posizionata “in alto” in quel modo?
2)ottengo il seguente messaggio quando compilo:
`Underfull \hbox (badness 7685) in paragraph at lines 21–22
[]\T1/cmr/m/sc/10.95 Dickson, N. \T1/cmr/m/it/10.95 Lo-cal Air Qua-li-ty and IC
AO En-gi-ne Emis-sions Stan-dards
[]
Underfull \hbox (badness 10000) in paragraph at lines 21–22
\T1/cmtt/m/n/10.95 http : / / www\OML/cmm/m/it/10.95 :\T1/cmtt/m/n/10.95 icao\O
ML/cmm/m/it/10.95 :\T1/cmtt/m/n/10.95 int / Meetings / EnvironmentalWorkshops /
Documents / 2014 -[] Kenya /
[]`
Cercando su internet, ho trovato che aggiungendo
`\usepackage{etoolbox}
\apptocmd{\sloppy}{\hbadness 10000\relax}{}{}`
nel preambolo, rimuove lo warning. È una soluzione corretta oppure maschera solamente un errore che sto commettendo? Grazie, ciao.
[attachment=1493]senza_break.png[/attachment]
[attachment=1494]con_break.png[/attachment]