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?

1 Answer 1

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
    Commented Sep 18, 2020 at 18:07

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .