<div dir="ltr"><div>For an expansion of my demo, I produced an image of the "token math" set by pdflatex, and then attempted to set mspace widths to match the appearance of that image.</div><div><br></div><div><a href="https://www.albany.edu/dept/math-stat/hammond/demos/tex4ht/preusse2mjy.html">https://www.albany.edu/dept/math-stat/hammond/demos/tex4ht/preusse2mjy.html</a></div><div><br></div><div>For the matching: 1em for "\quad", 0.45em for "\ ", and 0.2em for "\,". <br></div><div><br></div><div> -- Bill</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Aug 26, 2019 at 4:15 AM Michal Hoftich <<a href="mailto:michal.h21@gmail.com">michal.h21@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Bill,<br>
<br>
> <a href="https://www.albany.edu/dept/math-stat/hammond/demos/tex4ht/hilmar.html" rel="noreferrer" target="_blank">https://www.albany.edu/dept/math-stat/hammond/demos/tex4ht/hilmar.html</a><br>
<br>
Thanks for this demo. You are right that there are some issues with<br>
spaces. I've took a look at their support in tex4ht and found that<br>
there is no support for \:, \! or \; in tex4ht sources. So I've added<br>
them. The widths of corresponding <mspace> elements is based on<br>
fractions on this page:<br>
<a href="https://chenfuture.wordpress.com/2008/03/22/math-spacing-and-length-units/" rel="noreferrer" target="_blank">https://chenfuture.wordpress.com/2008/03/22/math-spacing-and-length-units/</a>.<br>
The \quad should really be 1em, but \ should be much smaller than it<br>
is right now, I've set it to 0.33 em.<br>
<br>
Best regards,<br>
Michal<br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr">William F Hammond<br>Email: <a href="mailto:gellmu@gmail.com" target="_blank">gellmu@gmail.com</a><br><a href="https://www.facebook.com/william.f.hammond" target="_blank">https://www.facebook.com/william.f.hammond</a><br><a href="http://www.albany.edu/~hammond/" target="_blank">http://www.albany.edu/~hammond/</a><br><br></div></div>