\input texinfo
@setfilename tex_tex4ht_math.info
@top Texinfo Test
@c Slightly hacked
@c I think you want to send this through Texinfo's "makeinfo --html"
@c Added a title (formal HTML requirement)
@c To that add a MathJax hook in the HTML head, e.g.
@c
@c
@c
@c In the output change the at the beginning of math to \( and
@c change the at the end of math to \)
@c For displaymath use \[ ... \]
@c Cleaned some of the math for better sailing
@verbatim
@end verbatim
@math{{x^i}\over{\tan y}}
@verbatim
@end verbatim
@verbatim
@end verbatim
@c It seems that makeinfo does not grok @\
@math{a \backslash b}
@verbatim
@end verbatim
@verbatim
@end verbatim
@c Inside @math use only TeX math, hence, not @code
@math{{\tt math code}\ a < b}
@verbatim
@end verbatim
@verbatim
@end verbatim
@math{\underline{{\tt math\ code}}\ \sum_{i}{\underline{f}}}
@verbatim
@end verbatim
@verbatim
@end verbatim
@math{\sum_{i} f(x)^{2}}
@verbatim
@end verbatim
@bye