summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/lwarp/lwarp-algorithmicx.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-algorithmicx.sty')
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-algorithmicx.sty12
1 files changed, 10 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-algorithmicx.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-algorithmicx.sty
index 7a3ab4aaa6e..49211be29ed 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-algorithmicx.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-algorithmicx.sty
@@ -35,10 +35,18 @@ span style="width:\rndprintlength{\ALG@thistlm}; display:inline-block;"%
}{}%
\LWR@htmltagc{/span}%
}%
-\let\origComment\Comment%
-\renewcommand{\Comment}[1]{\InlineClass{floatright}{\origComment{#1}}}%
+
+\let\LWR@origComment\Comment%
+
+\renewcommand{\Comment}[1]{%
+ \InlineClass{floatright}{\LWR@origComment{#1}}%
+}%
}
+\renewcommand\algorithmiccomment[1]{%
+\hfill\HTMLunicode{25B7} #1% white right triangle
+}%
+
\end{warpHTML}
\endinput