aboutsummaryrefslogtreecommitdiff
path: root/model_3/resources/10_title_style.tex
diff options
context:
space:
mode:
Diffstat (limited to 'model_3/resources/10_title_style.tex')
-rwxr-xr-xmodel_3/resources/10_title_style.tex66
1 files changed, 66 insertions, 0 deletions
diff --git a/model_3/resources/10_title_style.tex b/model_3/resources/10_title_style.tex
new file mode 100755
index 0000000..3c92a33
--- /dev/null
+++ b/model_3/resources/10_title_style.tex
@@ -0,0 +1,66 @@
+\usepackage{titlesec}
+
+
+%\providecommand{\DUdocumentsubtitle}[1]{%
+% \begin{flushright}{\Huge#1}\end{flushright}%
+%}
+
+\providecommand*{\DUdocumentsubtitle}[1]{%
+ \Large
+ \CaviarDreamsFont\selectfont
+ \color{black}
+ \begin{flushright}
+ #1
+ \end{flushright}
+}
+
+\makeatletter
+
+\usepackage{mdframed}
+\def\@maketitle{%
+
+ \begin{mdframed}[
+ topline=false,
+ leftline=false,
+ rightline=false,
+ innertopmargin=1cm,
+ innerbottommargin=1cm
+ ]
+ \textcolor{sidecolor}{\fontsize{1.2cm}{2cm}\EBLigatures\selectfont \@title}
+ \end{mdframed}
+}
+\makeatother
+
+
+\newcommand{\periodafter}[1]{#1.}
+
+% Titre de niveau 0
+\titleformat{\section}
+ {\EBLigatures\selectfont\em\LARGE}
+ {\thesection}
+ {0em}
+ {\textcolor{sidecolor}}
+ [{\vspace{1cm}}]
+
+% Titre de niveau 1
+\titleformat{\subsection}
+ {\CaviarDreamsFont\selectfont\Large}
+ {\thesection}
+ {0em}
+ {}
+ []
+
+% Titre de niveau 2
+\titleformat{\subsubsection}
+ {\large}
+ {\thesubsection}
+ {}
+ {\textcolor{black!69}}
+
+% Titre de niveau 3
+\titleformat{\subsubsubsection}
+ {\bfseries\normalsize}
+ {\thesubsubsection}
+ {2em}
+ {}
+ {}