From d90a1498f61e4a480eaf85f6f031aa8caec9b67f Mon Sep 17 00:00:00 2001 From: Simmo Saan <simmo.saan@gmail.com> Date: Sat, 25 Jan 2025 15:01:21 +0200 Subject: [PATCH] Add xurl package --- unitartucs/thesis.cls | 1 + 1 file changed, 1 insertion(+) diff --git a/unitartucs/thesis.cls b/unitartucs/thesis.cls index 5f56f87..5d07a1e 100644 --- a/unitartucs/thesis.cls +++ b/unitartucs/thesis.cls @@ -261,6 +261,7 @@ \newunderlinetype\@underLine{% \leaders\vrule height -0.25ex depth \underLineDepth % Close underline like in Word } + \usepackage{xurl} % Allow arbitrary line breaks in urls \NewDocumentCommand\underLine{+m}{{\@underLine#1}} \DeclareUrlCommand{\Hurl}{% https://tex.stackexchange.com/a/169734 \def\UrlLeft##1\UrlRight{\@underLine##1} % Use \@underLine directly to allow line breaks in urls -- GitLab