[tex4ht] [bug #314] Missing indentation and bad alignment of line numbers in algorithmic environment
Michal Hoftich
michal.h21 at gmail.com
Wed Jun 15 17:26:57 CEST 2016
Follow-up Comment #1, bug #314 (project tex4ht):
It should be fixed in the sources now. Until TL is updated, you can use the
following configuration:
\Preamble{xhtml}
\makeatletter
\Configure{ALCitem}
{\HCode{\ifnum \c at ALC@line>1 <br />\fi <span class="ALCitem">}\NoFonts}
{\HCode{</span><span class="alg-indent" style="width:\the\ALC at tlm
;"> </span>}\EndNoFonts}
\makeatother
\Css{.ALCitem {display:inline-block;width:2em;
text-align:right;font-size:0.8em;}}
\Css{.alg-indent{display:inline-block;}}
\begin{document}
\EndPreamble
_______________________________________________________
Reply to this item at:
<http://puszcza.gnu.org.ua/bugs/?314>
_______________________________________________
Message sent via/by Puszcza
http://puszcza.gnu.org.ua/
More information about the tex4ht
mailing list