# tex4ht does not handle multline well in mathjax mode

This MWE

\documentclass[12pt]{article}%
\usepackage{amsmath}
\begin{document}

\begin{multline*}
(6 A t+2 B) e^{it}+i (3At^{2}+2Bt+C) e^{it}+i(3At^{2}+2Bt+C) e^{it}\\
-(  At^{3}+Bt^{2}+Ct) e^{it}+( At^{3}+Bt^{2}+Ct) e^{it}=t^{2}e^{it}
\end{multline*}

\end{document}


Gives the following output in HTML when compiled using make4ht foo1.tex "mathjax", The split equation drifts apart when resizing the window making it look bad on wide monitor or wide browser window.

Is it possible to make the split equation remain intact as the case when compiling math using images? Does this need some make4ht mathjax additional configuration?

Compare the output above to when compiling math with images (svg or png), where the multline equation do not drift apart as the window size changes

Using TL 2019

• I am afraid that this issue is not related to tex4ht at all. MathJax decides about formatting. You can maybe set max-width using CSS to prevent too big resizing. Oct 16 '19 at 8:27
• @michal.h21 Ok, thanks Michal. I did not know that is why I asked. Will delete my question in this case no problem. Oct 16 '19 at 8:33
• that's OK, I can post answer with the necessary CSS Oct 16 '19 at 8:34

\Preamble{xhtml}