summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/lwarp/lwarp-algorithmicx.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-11-23 21:06:47 +0000
committerKarl Berry <karl@freefriends.org>2017-11-23 21:06:47 +0000
commita966a76688af35e8f788ba4cd9a98743c496ae73 (patch)
treeb3095755a2db4ce5e44615e51546a37e76d9f1a4 /Master/texmf-dist/tex/latex/lwarp/lwarp-algorithmicx.sty
parent03faaffd813fcdcc0465e974b5120de2690f0f46 (diff)
lwarp (23nov17)
git-svn-id: svn://tug.org/texlive/trunk@45895 c570f23f-e606-0410-a88d-b1316a301751
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