blob: 3c92a3328599f6d766fb68d5219c10fd2e90c59b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
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}
{}
{}
|