diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-algorithmicx.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/lwarp/lwarp-algorithmicx.sty | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-algorithmicx.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-algorithmicx.sty index 9adcd25396f..7a3ab4aaa6e 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-algorithmicx.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-algorithmicx.sty @@ -26,6 +26,13 @@ \LWR@htmltagc{% span style="width:\rndprintlength{\ALG@thistlm}; display:inline-block;"% }% +\ifbool{FormatWP}{% +\setlength{\LWR@templengthone}{\the\ALG@thistlm}% +\whiledo{\lengthtest{\LWR@templengthone>1em}}{% +\quad% +\addtolength{\LWR@templengthone}{-1em}% +}% +}{}% \LWR@htmltagc{/span}% }% \let\origComment\Comment% |