diff --git a/latex/paquets.tex b/latex/paquets.tex index a704f6c..a7d91ee 100644 --- a/latex/paquets.tex +++ b/latex/paquets.tex @@ -21,9 +21,17 @@ \usepackage{mdwlist} \defaultfontfeatures{Ligatures=TeX} -\setmainfont[Renderer=ICU, SlantedFont=Gentium Basic, SlantedFeatures={FakeSlant},SmallCapsFont=Gentium Plus, SmallCapsFeatures={Letters=SmallCaps}]{Gentium Basic} +\setmainfont[SlantedFont=Gentium Basic, SlantedFeatures={FakeSlant},SmallCapsFont=Gentium Plus, SmallCapsFeatures={Letters=SmallCaps}]{Gentium Basic} \setmonofont[FakeStretch=.7,BoldFont=Source Code Pro Semibold]{Source Code Pro} \usepackage[math-style=ISO, bold-style=ISO]{unicode-math} +%% bug recent dans unicode-math https://tex.stackexchange.com/a/475802/103608 +\ExplSyntaxOn +\cs_set:Nn \__um_fontdimen_to_percent:nN + { + \fp_eval:n { \dim_to_decimal_in_sp:n { \fontdimen #1 #2 } / 100 } + } +\ExplSyntaxOff + \setmathfont{texgyrepagella-math.otf}[Scale = MatchLowercase] \setmathfont{Asana-Math.otf}[range={\varnothing}, Scale = MatchLowercase] \setmathfont{texgyrepagella-math.otf}[range={\int}, Scale = MatchLowercase] %% https://tex.stackexchange.com/a/386937/103608