LaTeXML
LaTeXML copied to clipboard
spacing tweak for {tabbing}
trafficstars
When I compile the following code to a PDF, the tabbing environment works just fine. However, it is not rendering into HTML properly. Consider the following minimal tex code:
\documentclass{article}
\title{Blog Testing}
\author{Anakin Dey}
\begin{document}
\maketitle
\begin{tabbing}
\quad\=\qquad\=\qquad\=\qquad\=\qquad\=\qquad\=\kill
\textsc{Function}$(x)$:\+
\\ \textbf{return} $x$
\end{tabbing}
\end{document}
The PDF produced using pdflatex is as follows
However, here is the HTML output:
This was produced by running the following command
latexml --dest=main.xml main && latexmlpost --dest=main.html main.xml
@Spamakin just to be clear - is the issue here that the leading space before return is getting trimmed?
That is the piece I managed to reproduce locally.
Yup that is the issue. That bolded return should be indented but is not.