aboutsummaryrefslogtreecommitdiff
path: root/common/classes/tex/DUcolumns
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/DUcolumns
parent1dafbcc4532d63d389d9d33b3efae15452bcf0bb (diff)
Added all the styles requirements
Diffstat (limited to 'common/classes/tex/DUcolumns')
-rwxr-xr-xcommon/classes/tex/DUcolumns/DUcolumn.sty31
1 files changed, 31 insertions, 0 deletions
diff --git a/common/classes/tex/DUcolumns/DUcolumn.sty b/common/classes/tex/DUcolumns/DUcolumn.sty
new file mode 100755
index 0000000..d8e7141
--- /dev/null
+++ b/common/classes/tex/DUcolumns/DUcolumn.sty
@@ -0,0 +1,31 @@
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{DUcolumn}[2017/04/16 Docutils multicol]
+
+\RequirePackage{multicol}
+
+%
+% .. container:: paracol2
+%
+% Create a section of two column using paracol
+%
+%
+% .. container:: multicols2
+%
+% Create a section of two column using multicols
+
+\newenvironment{DUCLASSparacol2}%
+ {\begin{paracol}{2}}
+ {\end{paracol}}
+
+\newenvironment{DUclasstparacol3}%
+ {\begin{paracol}{2}}
+ {\end{paracol}}
+
+\newenvironment{DUCLASSmulticols2}%
+ {\begin{multicols}{2}}
+ {\end{multicols}}
+
+\newenvironment{DUCLASSmulticols3}%
+ {\begin{multicols}{3}}
+ {\end{multicols}}
+