summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHos Es <62862610+hossein-lap@users.noreply.github.com>2022-04-23 09:38:47 +0000
committerGitHub <noreply@github.com>2022-04-23 11:38:47 +0200
commitb1990b065790473dd7bf13075072f86680ef3a8b (patch)
tree906d005c09f6df772d9986850fa33f8dbb3e031c
parentef69474a6907b0abe4185ec714891dcdfef44618 (diff)
LaTeX template: Fix <200c> character rendering (#8036)
Renamed `\textormath` to `\TextOrMath`.
-rw-r--r--data/templates/default.latex2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/default.latex b/data/templates/default.latex
index 7d539fe02..44d527490 100644
--- a/data/templates/default.latex
+++ b/data/templates/default.latex
@@ -154,7 +154,7 @@ $if(zero-width-non-joiner)$
\def\zerowidthnonjoiner{%
% Prevent ligatures and adjust kerning, but still support hyphenating.
\texorpdfstring{%
- \textormath{\nobreak\discretionary{-}{}{\kern.03em}%
+ \TextOrMath{\nobreak\discretionary{-}{}{\kern.03em}%
\ifvmode\else\nobreak\hskip\z@skip\fi}{}%
}{}%
}