Hi, I am not an expert and math is difficult but you should look at the unicode-math package. I am not sure how difficult it is to use a new font.
Zdeněk Wagner http://ttsm.icpf.cas.cz/team/wagner.shtml http://icebearsoft.euweb.cz út 28. 4. 2020 v 16:13 odesílatel Pierre Dupond <76nem...@gmx.ch> napsal: > > Hi All, > I would load the cambria math from the > file Cambria.ttc with XeLaTeX. > > By looking in the documentation of the fontspec package, I have found > that indexes should be used. > > \setmainfont{Optima.ttc}[ > Path = /System/Library/Fonts/ , > UprightFeatures = {FontIndex=0}, > BoldFeatures = {FontIndex=1}, > ItalicFeatures = {FontIndex=2}, > BoldItalicFeatures = {FontIndex=3} > ] > > I have seen nothing similar for the command \setmathfont. > If it is possible > to load a math font from a ttc file what should be the label before > the equal sign (MathFont?). > > Usually, I use Cambria Math by using the font name instead > of the file but sometimes it is more convenient to > use directly the font file on the disk. > > best regards, > > -- > Pierre Dupond <76nem...@gmx.ch> >