used titlsec instead of sectsty

This commit is contained in:
Mylloon 2024-05-03 01:36:51 +02:00
parent 3fbfd93825
commit 89813109a8
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -94,9 +94,9 @@
\newcommand{\bibliofile}[1]{\gdef\@refile{#1}}
% Mise en page
\RequirePackage{sectsty}
\sectionfont{\setmainfont{Arial}\LARGE\bfseries}
\subsectionfont{\setmainfont{Arial}\Large\bfseries\itshape}
\RequirePackage{titlesec}
\titleformat*{\section}{\fontspec{Arial}\LARGE\bfseries}
\titleformat*{\subsection}{\fontspec{Arial}\Large\bfseries\itshape}
% Point après numéro dans le titre
\RequirePackage{titlesec}