diff --git a/src/preamble/packages/ams.tex b/src/preamble/packages/ams.tex index 85c267ef6ccae90169fdc2fb1d6076ee360873fa..4b2d980882532d6e4a6391145b5cacbf86909780 100644 --- a/src/preamble/packages/ams.tex +++ b/src/preamble/packages/ams.tex @@ -1,8 +1,14 @@ %! Author = lorenzo -%! Date = 13/02/22 +%! Date = 15/09/22 \usepackage{amsmath,amsthm} % per la matematica estesa +%% NON USARE LE MACRO \math.., MA \sym.. \usepackage[math-style=ISO]{unicode-math}% per la matematica UNICODE -\setmathfont{XITS Math}% font matematici UNICODE che van bene con i Times -\setmathfont[range={\mathcal,\mathbfcal},StylisticSet=1,partial=upright]{XITS Math} \ No newline at end of file +\def\corrxits#1{\expanded{\Umathstackdenomdown#1=\the\Umathfractiondenomdown#1}\relax} + +\AtBeginDocument{ + % see https://tex.stackexchange.com/a/120070 + \setmathfont{XITS Math}[partial=upright]% font matematici UNICODE che van bene con i Times. Base math font. + \setmathfont{XITS Math}[range={cal,bfcal},StylisticSet=1]% enable calligraphic font for XITS Math. +}