aboutsummaryrefslogtreecommitdiff
path: root/model_8/resources/10-title_style.tex
diff options
context:
space:
mode:
Diffstat (limited to 'model_8/resources/10-title_style.tex')
-rwxr-xr-xmodel_8/resources/10-title_style.tex21
1 files changed, 21 insertions, 0 deletions
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}
+ {}