0

For the font Source Sans Pro I want to use the semibold font instead of bold. The documentation indicates I should enable the option "semibold", but I do not know how to enable it. Here is my attempt which does not work

\setsansfont{Source Sans Pro Light}
\setmonofont{Source Sans Pro Light}
  
\setbeamerfont{title}{series= \semibold,parent=structure}
\setbeamerfont{frametitle}{series=\semibold,parent=structure}

Thank you in advance for the help

1
  • HI on TeX ! Please provide us a MWE ! – flav Sep 10 '20 at 15:29
1

The option semibold is an option of the package. Using \setsansfont loads the font directly instead of via the package.

The following loads the sourcesanspro package with the semibold option (which makes bold semibold), and sets the title/frametitle font series to bold:

\usepackage[semibold]{sourcesanspro}
\setbeamerfont{title}{series=\bfseries,parent=structure}
\setbeamerfont{frametitle}{series=\bfseries,parent=structure}

Of course, it is also possible to use the semibold variant only in the titles:

\usepackage{sourcesanspro}
\setbeamerfont{title}{series=\bfseries,family=\sourcesansprolight,parent=structure}
\setbeamerfont{frametitle}{series=\bfseries,family=\sourcesansprolight,parent=structure}
1
  • Thank you so much for your detailed answer. It solves the problem perfectly – Steven Qu Sep 10 '20 at 19:28

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.