# New User: Help with Fonts in Overleaf Template

TeX - LaTeX Asked on November 26, 2020

I found this nice template in Overleaf (https://www.overleaf.com/latex/templates/isw-student-thesis/xjwkfntnwrwc)
Can someone help changing the font? Please!

Garamond for Body and

If you compile using pdflatex, you have to go to iswthesis.sty and exchange lines 89–95

from

PassOptionsToPackage{osf,sc}{mathpazo}%
RequirePackage{mathpazo} % Palatino with real small caps and old style figures
usepackage{tgheros}
linespread{1.05} % a bit more for Palatino
PassOptionsToPackage{scaled=0.85}{DejaVuSansMon}%
RequirePackage{tgpagella}% bera monospace font
RequirePackage{textcomp}% declare missing symbols


to

% PassOptionsToPackage{osf,sc}{mathpazo}%
RequirePackage{ebgaramond-maths}
% RequirePackage{mathpazo} % Palatino with real small caps and old style figures
RequirePackage[scaled]{helvet}
linespread{1.05} % a bit more for Palatino
% PassOptionsToPackage{scaled=0.85}{DejaVuSansMon}%
RequirePackage{tgpagella}% bera monospace font
RequirePackage{textcomp}% declare missing symbols


For lualatex you need to have a look at lines 101–103:

    setsansfont{Tex Gyre Heros}
setmainfont[Numbers=OldStyle]{TeX Gyre Pagella}
setmonofont[Scale=0.85]{DejaVu Sans Mono}


Here you need to insert your system fonts: setsansfont{Helvetica Neue} or the version of Helvetica you've got installed in your system and setmainfont[Numbers=OldStyle]{EB Garamond} for Garamond.

Recompile and you're done!

Correct answer by phil-elkabat on November 26, 2020

## Related Questions

### How to use translator for two languages in beamer

1  Asked on September 6, 2021

### Combining caps text and italics

2  Asked on September 5, 2021

### Refer to an equation with multiple labels

2  Asked on September 5, 2021 by ghizlane

### Biblatex @inbook syntax error

1  Asked on September 5, 2021

### Endnotes at the same line

2  Asked on September 5, 2021

### How to redefine the proof environment for INFORMS papers

1  Asked on September 5, 2021

### DeclareUnicodeCharacter not working at all

1  Asked on September 5, 2021

### How do I change the frame continuation counter from roman numerals (i, ii, iii, …) to arabics ( 1,2,3, …)?

1  Asked on September 5, 2021 by klabrux

### How does one include a MP4 within a pdf via Media9 and TexShop?

0  Asked on September 5, 2021

### I want to wrap text only above and below a figure inside of a column

1  Asked on September 5, 2021 by jasperj

### Why does pgf-pie create so many “Missing character: There is no b in font nullfont!” errors?

2  Asked on September 5, 2021

### IEEEtran: Placing a two-column figure on desired page

2  Asked on September 5, 2021

### csvsimple inside tabular environment, but csv data includes LaTeX arrays/tables/aligned etc

1  Asked on September 5, 2021 by themathguyd

1  Asked on September 5, 2021

### Is there a way to avoid conversion to glyph paths?

0  Asked on September 5, 2021 by jammingthebbits

### Two images side by side not centered

1  Asked on September 5, 2021

### Can I make an alias for a node argument in TikZ?

1  Asked on September 4, 2021 by andra

1  Asked on September 4, 2021 by sameer-pusegaonkar

### How to remove the word “Notes” from usepackage{endnote}?

2  Asked on September 4, 2021 by liam-chang

Get help from others!