From bb412937a482dae6552bc5dd1f61188b461dd8e2 Mon Sep 17 00:00:00 2001
From: Sébastien Dailly <sebastien@dailly.me>
Date: Sun, 5 May 2024 16:18:51 +0200
Subject: Added a new model

---
 model_8/resources/10-title_style.tex | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100755 model_8/resources/10-title_style.tex

(limited to 'model_8/resources/10-title_style.tex')

diff --git a/model_8/resources/10-title_style.tex b/model_8/resources/10-title_style.tex
new file mode 100755
index 0000000..55c1bf3
--- /dev/null
+++ b/model_8/resources/10-title_style.tex
@@ -0,0 +1,21 @@
+\usepackage{titlesec}
+
+\titleformat{\section}[display]% shape
+  {\huge}% format
+  {
+    \makebox[0pt][l]{%
+      \raisebox{-70pt}[0pt][10pt]{%
+        \textcolor{black!30}{\fontsize{136pt}{0pt}\selectfont\thesection}%
+      }
+    }
+  }
+  {0pt}
+  {\CaviarDreamsFont\Huge}
+\titlespacing*{\section}{0pt}{*0}{1cm}
+
+% Titre de niveau 2
+\titleformat{\subsection}[block]
+  {\bfseries\Large}
+  {\llap{\hspace*{-1.3cm}\huge\textcolor{red!75!black}\thesubsection\hfill}}
+  {0em}
+  {}
-- 
cgit v1.2.3

