From 656be0de77fd5fde9d66b898f7767e1fa4f7bafd Mon Sep 17 00:00:00 2001 From: Yann Salmon Date: Thu, 30 Dec 2021 09:55:25 +0100 Subject: [PATCH] bugfix unicode-math ? --- latex/paquets.sty | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/latex/paquets.sty b/latex/paquets.sty index d90e9aa..47324fd 100644 --- a/latex/paquets.sty +++ b/latex/paquets.sty @@ -61,11 +61,12 @@ \DeclareMathSymbol{,}{\mathpunct}{digits}{`,} \DeclareMathSymbol{;}{\mathpunct}{digits}{`;} -\AtBeginDocument{\let\setminus\smallsetminus} +\AtBeginDocument{\let\setminus\smallsetminus% +\setmathfontface\mathit{texgyrepagella-italic.otf}[Scale = MatchLowercase]} \setmathfont[range=scr]{XITS Math} \setmathfont[range={\mdlgwhtcircle,\mdlgwhtsquare,\mdlgwhtdiamond}, Scale=.85]{STIX Two Math} \setmathfontface\mathcal{MnSymbol} -\setmathfontface\mathit{texgyrepagella-italic.otf}[Scale = MatchLowercase] + \setmathfontface\mathsf{texgyredejavu-math.otf}[Scale = MatchLowercase] \def\tmit#1{\text{\fontspec{texgyrepagella-italic.otf}[Scale = MatchLowercase] #1}} \let\mtit\tmit