summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/siunitx/siunitx-code.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/siunitx/siunitx-code.tex')
-rw-r--r--macros/latex/contrib/siunitx/siunitx-code.tex6
1 files changed, 3 insertions, 3 deletions
diff --git a/macros/latex/contrib/siunitx/siunitx-code.tex b/macros/latex/contrib/siunitx/siunitx-code.tex
index a4c3978310..a0a4319e23 100644
--- a/macros/latex/contrib/siunitx/siunitx-code.tex
+++ b/macros/latex/contrib/siunitx/siunitx-code.tex
@@ -1,6 +1,6 @@
\iffalse meta-comment
-File: siunitx-code.tex Copyright (C) 2016-2022 Joseph Wright
+File: siunitx-code.tex Copyright (C) 2016-2023 Joseph Wright
It may be distributed and/or modified under the conditions of the
LaTeX Project Public License (LPPL), either version 1.3c of this
@@ -47,6 +47,7 @@ for those people who are interested.
}
\makeatother
\ExplSyntaxOff
+\NewDocumentCommand\email{m}{\href{mailto:#1}{\nolinkurl{#1}}}
\NewDocumentCommand\foreign{m}{\textit{#1}}
% Standard settings
@@ -67,8 +68,7 @@ for those people who are interested.
Joseph Wright%
\thanks{%
E-mail:
- \href{mailto:joseph.wright@morningstar2.co.uk}
- {joseph.wright@morningstar2.co.uk}%
+ \email{joseph.wright@morningstar2.co.uk}%
}%
}