Skip to content

Use flama font in overleaf

In order to have flama font in overleaf, here are the required steps:

  1. choose xelatex to compile the projet (in the projet option)
  2. add a folder font in the root of the projet that contains all the .otf flama fonts.
  3. In the beamerthemesorbone.sty file, change lines that charge the font as follows:
   \newfontfamily\Light[ Path = font/ ]{Flama-Light}
   \newfontfamily\Book[ Path = font/ ]{Flama-Book}
   \newfontfamily\Medium[ Path = font/ ]{Flama-Medium}
   \setsansfont[BoldFont={Flama-Basic}, ItalicFont={Flama-LightItalic}, BoldItalicFont={Flama-BasicItalic}, Path = font/ ]{Flama-Light}

Note that Flama-Light-Italic and Flama-Basic-Italic have respectively become Flama-LightItalic and Flama-BasicItalic. Besides, several Path = font/ options have been added.

How can we ease that process? (especially step 3)

Edited by Eloi Zablocki