aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@dailly.me>2022-12-29 09:29:34 +0100
committerSébastien Dailly <sebastien@dailly.me>2022-12-29 09:33:13 +0100
commite25dd4b9db3f1aeea2e32782b772d749b8c3ad30 (patch)
tree01e1d2947ec001c8bf04c5f32d327caf820faa8f
parent9b04e31eac7d8803a2d9121fde8610ac8336e644 (diff)
Update latex styles
-rw-r--r--latex_docutils/texmf/tex/latex/docUtils/DUStyle/DUStyle.sty3
-rw-r--r--latex_docutils/texmf/tex/latex/docUtils/DUsidebar/DUsidebar.sty4
2 files changed, 4 insertions, 3 deletions
diff --git a/latex_docutils/texmf/tex/latex/docUtils/DUStyle/DUStyle.sty b/latex_docutils/texmf/tex/latex/docUtils/DUStyle/DUStyle.sty
index cd5a40e..666d703 100644
--- a/latex_docutils/texmf/tex/latex/docUtils/DUStyle/DUStyle.sty
+++ b/latex_docutils/texmf/tex/latex/docUtils/DUStyle/DUStyle.sty
@@ -46,7 +46,8 @@
linecolor=#1,
linewidth=3pt,
skipabove=0.5cm,
- backgroundcolor=DUStyle@lightGray]%
+ %backgroundcolor=DUStyle@lightGray
+ ]%
#2
\end{mdframed}
}
diff --git a/latex_docutils/texmf/tex/latex/docUtils/DUsidebar/DUsidebar.sty b/latex_docutils/texmf/tex/latex/docUtils/DUsidebar/DUsidebar.sty
index f1f6543..d4e709e 100644
--- a/latex_docutils/texmf/tex/latex/docUtils/DUsidebar/DUsidebar.sty
+++ b/latex_docutils/texmf/tex/latex/docUtils/DUsidebar/DUsidebar.sty
@@ -4,6 +4,7 @@
\RequirePackage{kvoptions}
\RequirePackage{mdframed}
\RequirePackage{ifthen}
+\RequirePackage{makeidx}
% Option for the color line (
\DeclareStringOption {linecolor}[blue]
@@ -54,5 +55,4 @@
% .. role:: index
%
% :index:`Terme`
-\newcommand{\DUroleindex}[1]{\marginpar{\texttt{#1}}}
-
+\newcommand{\DUroleindex}[1]{\index{#1}\marginpar{\texttt{#1}}}