Two steps
Using different fonts is much easier than I thought. It involves two steps:
-
Change the Compiler from
LaTexorpdfLatexto eitherXeLaTexorLuaLaTex. To make this change, click the Menu button on the upper-left corner of your Overleaf project. InSettings, you’ll see a drop list inCompiler. -
Add these two lines:
\usepackage{fontspec}
\s …