aboutsummaryrefslogtreecommitdiff
path: root/latex_docutils
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@chimrod.com>2020-04-03 18:57:29 +0200
committerSébastien Dailly <sebastien@chimrod.com>2020-04-03 18:57:29 +0200
commit2cbcd10fe7b590c98a50a7367c3e58e3def04669 (patch)
treebf32b64b9d5d669f1c70124bf07f95168a99ab42 /latex_docutils
parentaa18d3f888d6fb4d598c22fcf825a78e5540c1e7 (diff)
Added column class
Diffstat (limited to 'latex_docutils')
-rwxr-xr-xlatex_docutils/texmf/tex/latex/docUtils/DUcolumns/DUcolumn.sty31
1 files changed, 31 insertions, 0 deletions
diff --git a/latex_docutils/texmf/tex/latex/docUtils/DUcolumns/DUcolumn.sty b/latex_docutils/texmf/tex/latex/docUtils/DUcolumns/DUcolumn.sty
new file mode 100755
index 0000000..42200c8
--- /dev/null
+++ b/latex_docutils/texmf/tex/latex/docUtils/DUcolumns/DUcolumn.sty
@@ -0,0 +1,31 @@
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{DUcolumn}[2017/04/16 Docutils sidebar]
+
+\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}}
+