From 76b4805359bb343428d948c462353a296459d159 Mon Sep 17 00:00:00 2001 From: Yann Salmon Date: Fri, 22 Feb 2019 23:28:26 +0100 Subject: [PATCH] =?UTF-8?q?suite=20=C3=A0=20mise=20=C3=A0=20jour=20texlive?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- latex/paquets.tex | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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