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-admonitions.tex | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 model_8/resources/10-admonitions.tex

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

diff --git a/model_8/resources/10-admonitions.tex b/model_8/resources/10-admonitions.tex
new file mode 100644
index 0000000..acba12f
--- /dev/null
+++ b/model_8/resources/10-admonitions.tex
@@ -0,0 +1,30 @@
+\usepackage{DUStyle}
+
+
+\usepackage{fontspec}
+\RequirePackage{fontawesome}
+% Style pour les avertissements
+\createIconifiedDUStyle{warning}{orangeColor}{\faExclamation}{CaviarDreamsFont}
+% Style pour les notes
+\createIconifiedDUStyle{note}{lightBlueColor}{\faComment}{CaviarDreamsFont}
+% Style pour les exercices
+\createIconifiedDUStyle{exercice}{greenColor}{\faPencil}{CaviarDreamsFont}
+
+\newenvironment{DUCLASScode}{%
+  \begin{mdframed}[topline=false,%
+    bottomline=false,%
+    rightline=false,%
+    leftline=true,%
+    linecolor=black,%
+    linewidth=3pt,%
+    skipabove=0.5cm,%
+    backgroundcolor=black!5]
+    %\small
+}{%
+  \end{mdframed}
+}
+
+
+\newcommand{\DUtitletitle}[1]{%
+    {\begin{flushleft}\normalsize\CaviarDreamsFont{#1}\end{flushleft}}
+}
-- 
cgit v1.2.3

