aboutsummaryrefslogtreecommitdiff
path: root/common/classes/tex/DUcenter
diff options
context:
space:
mode:
Diffstat (limited to 'common/classes/tex/DUcenter')
-rw-r--r--common/classes/tex/DUcenter/DUcenter.sty12
1 files changed, 12 insertions, 0 deletions
diff --git a/common/classes/tex/DUcenter/DUcenter.sty b/common/classes/tex/DUcenter/DUcenter.sty
new file mode 100644
index 0000000..f5e0781
--- /dev/null
+++ b/common/classes/tex/DUcenter/DUcenter.sty
@@ -0,0 +1,12 @@
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{DUcenter}[2017/04/16 Docutils center role]
+
+%
+% Permet de centrer un texte en utilisant la classe « center »
+%
+% .. class:: center
+%
+% Ce texte sera centré
+
+\newcommand{\DUrolecenter}[1]{\begin{center}#1\end{center}}
+