aboutsummaryrefslogtreecommitdiff
path: root/common/classes/tex/DUcenter
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@dailly.me>2024-06-13 10:25:52 +0200
committerSébastien Dailly <sebastien@dailly.me>2024-06-13 10:25:52 +0200
commit29f0b0efcee3b462b5469aec45763e820f3311a2 (patch)
tree0a13074743240bd985c4e817a2e7749336cc867b /common/classes/tex/DUcenter
parent1dafbcc4532d63d389d9d33b3efae15452bcf0bb (diff)
Added all the styles requirements
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}}
+