1

I recently acquired three OTF files for Minion Pro (minionpro-regular.otf, minionpro-it.otf, and minionpro-semibod.otf). I followed this guide from overleaf on how to use set MinionPro as my main font using the \setmainfont{MinionPro-Regular.otf} command. I did upload all three files via project.

https://pt.overleaf.com/latex/examples/how-to-use-minion-pro-fonts-with-xelatex/ydsdkcpvsstg

However, this does not cover italic and boldface. Currently, if I try \textbf or \textit, only regular texts show up. Is there a way to set minionpro-it.otf and minionpro-semibod.otf as the font for italic and boldface respectively?

2

Use the ItalicFont= and BoldFont= options, such as

\setmainfont{MinionPro}[
  UprightFont = *-regular ,
  BoldFont = *-semibold ,
  ItalicFont = *-it ,
  Extension = .otf ]

Add BoldItalicFont = if you have one, enable any other features you want to use, and tweak to match your filenames.

1
  • Thanks so much! It is working now! – user224899 Sep 18 '20 at 18:07

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.