[XeTeX] load math font ttc xetex

2020-04-28 Thread Pierre Dupond
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 = {FontInd

Re: [XeTeX] load math font ttc xetex

2020-04-28 Thread Zdenek Wagner
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>

Re: [XeTeX] load math font ttc xetex

2020-04-28 Thread Adam Twardoch (Lists)
A TTC is a sort of archive that contains multiple TTF files, in a way. The index is specific to each TTC — it's just the choice of the TTF. AFAIR, Cambria.ttc has two fonts, the normal Cambria and Cambria Math. So to load Cambria Math from Cambria.ttc, I think you'd need FontIndex=1 On Tue, 28 Apr