1

I'm writing my thesis and I'd like to do these things:

  1. Using Garamond font for Serif, Cabin for Sans, Latin Modern for Math, and Inconsolata for monospaced. How to set each one?
  2. Garamond has to be the main font.
  3. Cabin is for titles of chapters, sections, etc. How to set Bold for the chapters, semi-bold for sections, and so on?
4
  • 1
    \usepackage{fontspec}\setmainfont{Garamond}\setsansfont{Cabin}\setmonofont{Inconsolata} use LuaLaTeX or XeLaTeX.
    – Skillmon
    Commented Feb 11, 2023 at 20:59
  • For the third point: Best approach depends on your class, so create an MWE we can tinker with. If you're using a KOMA-class for instance, most of point 3 is already solved by the class's defaults (except for the different weights).
    – Skillmon
    Commented Feb 11, 2023 at 21:01
  • I don't like XeLaTeX takes too much compiling (in Overleaf), is there any option? Commented Feb 11, 2023 at 21:07
  • \usepackage{lmodern}\usepackage{inconsolata}\usepackage{cabin}\usepackage{ebgaramond} might work in pdfLaTeX (but I didn't check this setup). This page might help: tug.org/FontCatalogue
    – Skillmon
    Commented Feb 11, 2023 at 21:32

0

You must log in to answer this question.

Browse other questions tagged .