AnswerBun.com

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
Helvetica for Headings

One Answer

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

Add your own answers!

Related Questions

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

 

apacite – parentheses color not changing

0  Asked on September 5, 2021 by amos-machado

 

Endnotes and headers

1  Asked on September 5, 2021

 

Is there a way to avoid conversion to glyph paths?

0  Asked on September 5, 2021 by jammingthebbits

     

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

1  Asked on September 4, 2021 by andra

 

Hyperlink on text adds url to output

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

 

Ask a Question

Get help from others!

© 2022 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP, SolveDir