1

I am experiencing the same problem with MikTeX 2.9 as I have with Overleaf, both using XeLaTeX. I need to use CAMBRIA.TTC fonts. The following example formats in both settings without bold and italics.

\documentclass{article}
 \usepackage{fontspec}
 \setmainfont[Ligatures=TeX]{CAMBRIA.TTC}
 \begin{document}
 \textsc{Small caps work,} but \textbf{boldface} and \textit{italics} do not work.
 \end{document}
  • 1
    \setmainfont[Ligatures=TeX,BoldFont={CAMBRIAB.ttf},ItalicFont={CAMBRIAI.ttf}]{CAMBRIA.TTC}. Or use simply \setmainfont{Cambria}. – Ulrike Fischer Sep 10 at 13:33
1

I think that now all \textsc, \textbf and \textit work correctly with Cambria font.

enter image description here

 \documentclass{article}
 \usepackage{fontspec}
 \setmainfont[Ligatures={TeX,Common}]{Cambria}
 \begin{document}
 \textsc{Small caps work,} but \textbf{boldface} and \textit{italics} do not work.
 \end{document}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.