aboutsummaryrefslogtreecommitdiff
path: root/latex_docutils/texmf/tex/latex/docUtils/DUsidebar/DUsidebar.sty
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@chimrod.com>2018-05-08 12:05:57 +0200
committerSébastien Dailly <sebastien@chimrod.com>2018-05-08 12:05:57 +0200
commit4bcef5b66d8c4819e5b5459282eab2d92247c8c2 (patch)
treea530dc7b7fdf1ff5987341230dc0e9392b401df8 /latex_docutils/texmf/tex/latex/docUtils/DUsidebar/DUsidebar.sty
parent946174b6ac80270b5bc3b73ea7ed34c3a24fe92e (diff)
Update docutils styles
Diffstat (limited to 'latex_docutils/texmf/tex/latex/docUtils/DUsidebar/DUsidebar.sty')
-rw-r--r--latex_docutils/texmf/tex/latex/docUtils/DUsidebar/DUsidebar.sty10
1 files changed, 10 insertions, 0 deletions
diff --git a/latex_docutils/texmf/tex/latex/docUtils/DUsidebar/DUsidebar.sty b/latex_docutils/texmf/tex/latex/docUtils/DUsidebar/DUsidebar.sty
index 20defda..f1f6543 100644
--- a/latex_docutils/texmf/tex/latex/docUtils/DUsidebar/DUsidebar.sty
+++ b/latex_docutils/texmf/tex/latex/docUtils/DUsidebar/DUsidebar.sty
@@ -46,3 +46,13 @@
% :note:`Ceci est un test`
\newcommand{\DUrolenote}[1]{\marginpar{#1}}
+
+
+%
+% Permet de référencer un élément dans la marge en utilisant le rôle « index »
+%
+% .. role:: index
+%
+% :index:`Terme`
+\newcommand{\DUroleindex}[1]{\marginpar{\texttt{#1}}}
+