<div><div dir="auto">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</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 28 Apr 2020 at 16:13, Pierre Dupond <<a href="mailto:76nemo76@gmx.ch">76nemo76@gmx.ch</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi All,<br>
      I would load the cambria math from the<br>
file Cambria.ttc with XeLaTeX.<br>
<br>
By looking in the documentation of the fontspec package, I have found<br>
that indexes should be used.<br>
<br>
\setmainfont{Optima.ttc}[<br>
Path = /System/Library/Fonts/ ,<br>
UprightFeatures = {FontIndex=0},<br>
BoldFeatures = {FontIndex=1},<br>
ItalicFeatures = {FontIndex=2},<br>
BoldItalicFeatures = {FontIndex=3}<br>
]<br>
<br>
I have seen nothing similar for the command \setmathfont.<br>
If it is possible<br>
to load a math font from a ttc file what should be the label before<br>
the equal sign (MathFont?).<br>
<br>
Usually, I use Cambria Math by using the font name instead<br>
of the file but sometimes it is more convenient to<br>
use directly the font file on the disk.<br>
<br>
best regards,<br>
<br>
--<br>
Pierre Dupond <<a href="mailto:76nemo76@gmx.ch" target="_blank">76nemo76@gmx.ch</a>><br>
<br>
</blockquote></div></div>