aboutsummaryrefslogtreecommitdiff
path: root/latex_docutils/texmf/tex/latex/docUtils/DUsidebar
diff options
context:
space:
mode:
Diffstat (limited to 'latex_docutils/texmf/tex/latex/docUtils/DUsidebar')
-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}}}
+