diff options
author | Sébastien Dailly <sebastien@chimrod.com> | 2019-08-16 10:35:52 +0200 |
---|---|---|
committer | Sébastien Dailly <sebastien@chimrod.com> | 2019-08-16 10:35:52 +0200 |
commit | fd67f410b29933b2b1d9861af0c9ce12dd297ba9 (patch) | |
tree | 931904834606afd1915bd5e845adcbcae0713186 /example_1/example.rst | |
parent | 42e21fdaf26219f844ea626ae5df6010712fed04 (diff) |
Provide new example
Diffstat (limited to 'example_1/example.rst')
-rwxr-xr-x | example_1/example.rst | 41 |
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]` + |