I'm compiling it with XeLaTeX on my ubuntu-based system, Pop!_OS, because it is required I use the Times New Roman font. I will certainly test it out on Overleaf.
Ah, ok. Using pdfLatex, try to use \usepackage{newtxtext,newtxmath} below \usetheme in tex file
\usetheme{Ufg} \usepackage{newtxtext,newtxmath}
To change the font of titles, comment line 11 in sty file
\mode<presentation> % \usefonttheme[onlymath]{serif}
result:
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I'm compiling it with XeLaTeX on my ubuntu-based system, Pop!_OS, because it is required I use the Times New Roman font. I will certainly test it out on Overleaf.
Ah, ok.
Using pdfLatex, try to use \usepackage{newtxtext,newtxmath} below \usetheme in tex file
To change the font of titles, comment line 11 in sty file
result: