Avoid long urls extending past the margins of text in LaTeX with xurl
Use package xurl instead of url in LaTeX documents to avoid having long urls going into the margin of the documents. This will break the long url into multiple lines without creating any issues.
Just load xurl with usepackage instead of url and every time url is called xurl will take over.
Don't know why this one escaped my knowledge for over 15 years, but well, learn something every day.
Tags: latex, typesetting