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.
https://www.albany.edu/dept/math-stat/hammond/demos/tex4ht/preusse2mjy.html For the matching: 1em for "\quad", 0.45em for "\ ", and 0.2em for "\,". -- Bill On Mon, Aug 26, 2019 at 4:15 AM Michal Hoftich <[email protected]> wrote: > Hi Bill, > > > > https://www.albany.edu/dept/math-stat/hammond/demos/tex4ht/hilmar.html > > Thanks for this demo. You are right that there are some issues with > spaces. I've took a look at their support in tex4ht and found that > there is no support for \:, \! or \; in tex4ht sources. So I've added > them. The widths of corresponding <mspace> elements is based on > fractions on this page: > https://chenfuture.wordpress.com/2008/03/22/math-spacing-and-length-units/ > . > The \quad should really be 1em, but \ should be much smaller than it > is right now, I've set it to 0.33 em. > > Best regards, > Michal > -- William F Hammond Email: [email protected] https://www.facebook.com/william.f.hammond http://www.albany.edu/~hammond/
