Use and set up polyglossia.

This commit is contained in:
Sergiu Ivanov 2024-01-07 16:27:06 +01:00
parent 8a2e663207
commit 2c5ee1960b

View file

@ -5,7 +5,7 @@
%%%% manuscrit de HDR. %%%% manuscrit de HDR.
%%%% 5 janvier 2024 %%%% 5 janvier 2024
\documentclass[english,12pt,a4paper]{book} \documentclass[12pt,a4paper]{book}
\usepackage{amsmath} \usepackage{amsmath}
\usepackage{amsfonts} \usepackage{amsfonts}
\usepackage{fancyhdr} \usepackage{fancyhdr}
@ -24,10 +24,14 @@
\usepackage{hyperref} \usepackage{hyperref}
\usepackage[language=english]{lipsum} \usepackage[language=english]{lipsum}
\usepackage{fontspec} \usepackage{fontspec}
\usepackage{polyglossia}
\setmainfont{Linux Libertine O} \setmainfont{Linux Libertine O}
\setsansfont{Linux Biolinum O} \setsansfont{Linux Biolinum O}
\setdefaultlanguage{english}
\setotherlanguages{french}
\graphicspath{{pics/}} \graphicspath{{pics/}}
\usetikzlibrary{calc} \usetikzlibrary{calc}