DEV Community

Discussion on: A custom LaTeX Presentation Template

 
sirneij profile image
John Owolabi Idogun

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.

Thread Thread
 
deuslirio profile image
Deuslirio Junior • Edited

Ah, ok.
Using pdfLatex, try to use \usepackage{newtxtext,newtxmath} below \usetheme in tex file

\usetheme{Ufg}
\usepackage{newtxtext,newtxmath}
Enter fullscreen mode Exit fullscreen mode

To change the font of titles, comment line 11 in sty file

\mode<presentation>
% \usefonttheme[onlymath]{serif}
Enter fullscreen mode Exit fullscreen mode

result:
times bold text