diff options
author | Sébastien Dailly <sebastien@chimrod.com> | 2020-12-01 21:32:20 +0100 |
---|---|---|
committer | Sébastien Dailly <sebastien@chimrod.com> | 2020-12-03 17:33:35 +0100 |
commit | b6bebdc03066e513efbbb5ff9424681bbcceff0c (patch) | |
tree | ad58ccc072efbfdeabe4d9b4b20b79acc8fd19b3 /model_2/resources/10_title_style.tex | |
parent | 02b663b21099cdb62cef7b363cae46a56d7aae5f (diff) |
Added a new model, and did some factorisation
Diffstat (limited to 'model_2/resources/10_title_style.tex')
-rwxr-xr-x | model_2/resources/10_title_style.tex | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/model_2/resources/10_title_style.tex b/model_2/resources/10_title_style.tex index 3f57a84..f391417 100755 --- a/model_2/resources/10_title_style.tex +++ b/model_2/resources/10_title_style.tex @@ -1,4 +1,5 @@ \usepackage{titlesec}
+\usepackage[many]{tcolorbox}
\providecommand*{\DUdocumentsubtitle}[1]{{\EBLigatures\selectfont\em\LARGE\begin{flushright}#1\end{flushright}}}
@@ -44,3 +45,19 @@ {2em}
{}
{}
+
+\newcommand{\DUtitletitle}[1]{%
+ \begin{tcolorbox}[colback=sidecolor, sharp corners]%
+ \begin{center}%
+ \begin{CaviarDreamsBoldFont}%
+ {\textbf\selectfont\color{white}{\scriptsize\uppercase{#1}}}%
+ \end{CaviarDreamsBoldFont}%
+ \end{center}
+ \end{tcolorbox}
+ }
+
+\let\oldtitle\maketitle
+\renewcommand{\maketitle}{%
+ {\oldtitle}
+ \begin{paracol}{2}
+}
|