aboutsummaryrefslogtreecommitdiff
path: root/content/preamble.tex
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2023-12-10 12:28:51 +0100
committerJonas Smedegaard <dr@jones.dk>2023-12-10 12:29:30 +0100
commita21f8db771a432d469f6662df5f076752be78ea7 (patch)
tree84a77be7c74bb0f8ffbc79af14191342c2bce76f /content/preamble.tex
parent024c511577e7ac28c055a9ace8dcafc32f8de861 (diff)
parent4c3ca2284f27a16799754fc82eff46d19715dbb5 (diff)
modernize to use pandoc 3.0.1 (not 2.11.4)master
Update LaTeX template, and drop custom setup of \UrlBreaks and \UrlOrds obsoleted by package xurl even for Pandoc 2.11.4 (see discussion at <https://tex.stackexchange.com/q/3033>).
Diffstat (limited to 'content/preamble.tex')
-rw-r--r--content/preamble.tex12
1 files changed, 1 insertions, 11 deletions
diff --git a/content/preamble.tex b/content/preamble.tex
index 3fe1f40..912945f 100644
--- a/content/preamble.tex
+++ b/content/preamble.tex
@@ -23,11 +23,6 @@ Quelltext: \href{https://collaborating.tuhh.de/cfo8486/mehr-als-77-tipps}{https:
\setlength{\footnotemargin}{.6em}
\setlength{\footnotesep}{.2cm}
-% Umbrüche in URLs
-\makeatletter
-\g@addto@macro{\UrlBreaks}{\UrlOrds}
-\makeatother
-
\raggedbottom
% Set figure legends and captions to be smaller sized sans serif font
@@ -50,11 +45,6 @@ Quelltext: \href{https://collaborating.tuhh.de/cfo8486/mehr-als-77-tipps}{https:
\setlength{\footnotemargin}{1.1em}
\setlength{\footnotesep}{.2cm}
-
-% Save original href command for cases where we *really* want a link.
-\LetLtxMacro\ForceHref\href
-
-
% ORCID id icon
\usepackage{calc}
\usepackage{tikz}
@@ -81,7 +71,7 @@ Quelltext: \href{https://collaborating.tuhh.de/cfo8486/mehr-als-77-tipps}{https:
\end{tikzpicture}%
}}%
}
-\newcommand{\orcid}[1]{\ForceHref{https://orcid.org/#1}{\XeTeXLinkBox{\ORCIDid}}}
+\newcommand{\orcid}[1]{\href{https://orcid.org/#1}{\XeTeXLinkBox{\ORCIDid}}}
% Beginne mit der Kapitelzählung bei 0; sonst hätten wir kurz
% vor Schluss noch alle Coverbilder ändern müssen...