From 89813109a8e7a7035795f85bce4784d4236ca586 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Fri, 3 May 2024 01:36:51 +0200 Subject: [PATCH] used titlsec instead of sectsty --- rapstage.cls | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rapstage.cls b/rapstage.cls index 1a799eb..e8c7e01 100644 --- a/rapstage.cls +++ b/rapstage.cls @@ -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}