disallow line breaks for links

This commit is contained in:
Sina Atalay 2024-02-10 21:31:01 +01:00
parent 8d0c5f4120
commit 4b7d6ee8c1
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@
% save the original href command in a new command:
\let\hrefWithoutArrow\href
% new command for external links:
\renewcommand{\href}[2]{\hrefWithoutArrow{#1}{#2 \raisebox{.15ex}{\footnotesize \faExternalLink*}}}
\renewcommand{\href}[2]{\hrefWithoutArrow{#1}{\mbox{#2 \raisebox{.15ex}{\footnotesize \faExternalLink*}}}}
\let\originalTabularx\tabularx
\let\originalEndTabularx\endtabularx