aboutsummaryrefslogtreecommitdiff
path: root/example_1/example.rst
diff options
context:
space:
mode:
Diffstat (limited to 'example_1/example.rst')
-rwxr-xr-xexample_1/example.rst41
1 files changed, 41 insertions, 0 deletions
diff --git a/example_1/example.rst b/example_1/example.rst
new file mode 100755
index 0000000..a8173bd
--- /dev/null
+++ b/example_1/example.rst
@@ -0,0 +1,41 @@
+.. -*- mode: rst -*-
+.. -*- coding: utf-8 -*-
+
+
+.. role:: latex(raw)
+ :format: latex
+
+.. default-role:: latex
+
+
+.. raw:: latex
+
+ % Création d'un nouvel environnement pour créer une boite colorée
+ \NewEnviron{DUCLASScolorbox}[1]{
+ \fcolorbox{#1}{#1}{\BODY}
+ }
+
+ \setstretch{2.4}
+
+Titre
+=====
+
+
+`\switchcolumn`
+
+.. container:: colorbox-olive textcolor-white hbox-10cm centering
+
+ `\lipsum[3][1-2]`
+
+.. container:: colorbox-purple textcolor-white hbox-15cm centering
+
+ `\lipsum[3][3-5]`
+
+`\switchcolumn`
+
+
+Section
+-------
+
+`\lipsum[1]`
+