From 3ca0ab0d8f11bb478c095e74dbab3b81645f729b Mon Sep 17 00:00:00 2001 From: Erwan Normand Date: Fri, 28 Jun 2024 01:08:01 +0200 Subject: [PATCH] Use sans-serif font for sections --- main.tex | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/main.tex b/main.tex index e47b93f..f3e811d 100644 --- a/main.tex +++ b/main.tex @@ -2,8 +2,12 @@ \documentclass[twoside, a4paper, 12pt]{book} \usepackage[inner=35mm, outer=20mm, top=30mm, bottom=25mm]{geometry} -\usepackage{setspace} -\linespread{1.15} % Set line spacing to 1.15 +\usepackage{setspace} % Set line spacing to 1.15 +\linespread{1.15} + +\usepackage{sectsty} % Use sans-serif font for sections +\chapterfont{\sffamily} +\allsectionsfont{\sffamily} % Typography \usepackage[T1]{fontenc} % Use T1 font encoding