-- (c) John Stockton, near London, UK. Using Google, no spell-check. Mail: J.R.""""""""@physics.org or (better) via Home Page at Web: <http://www.merlyn.demon.co.uk/> (may move soon) FAQish topics, acronyms, links, etc.; Date, Lagrange, JavaScript, ..|
For Q1, you can set the mtextFontInherit parameter to true in the HTML-CSS and SVG sections of your configuration.},
A small point : Lagrange used "tang" where nowadays it would be "tan". I would have been happy enough to use your \tan\varphi, but am actually using \text{tang}\,\varphi . However, so that you can support maths functions that you have never even heard of, is there or could there be a means of defining entities like \tang to be treated like the known functions? I guess it would just mean adding them to an existing internal list, the user to worry (or be warned?) about clashes with existing entities. Again, I don't need it; I'n just thinking that it could be needed.
This can be accomplished by the \operatorname command, i.e. \operatorname{tang} \varphi would produce the desired output.
For Q1, you can set the mtextFontInherit parameter to true in the HTML-CSS and SVG sections of your configuration. For example, place<script type="text/x-mathjax-config">MathJax.Hub.Config({"HTML-CSS": {mtextFontInherit: true},SVG: {mtextFontInherit: true}});</script>somewhere BEFORE the script that loads MathJax.js itself. This will cause all \text{} commands to use the surrounding font rather than the MathJax \rm font. (The font renderer on XP in my opinion is a pretty poor one, and it requires extensive font hinting to work properly even at normal sizes. Proper hinting (I'm told) requires hinting each glyph by hand, and that has not been done with the MathJax fonts. They do have the FontForge auto-hinint, but apparently that is not great, and doesn't seem to help XP very much.)
<http://www.merlyn.demon.co.uk/p231-jax.htm>, code
$$ r = \sqrt { x^2+y^2+z^2 }, ~~~~
r' = \sqrt { x'^2+y'^2+z'^2 }, ~~~~
r'' = \sqrt { (x'-x)^2+(y'-y)^2+(z'-z)^2 } . $$
not zoomed. The "roof" of the extended square root signs is slightly
(1px?) high over the outer two characters; "superscript" may be a red
herring. Harmless; but not pretty.
<http://www.merlyn.demon.co.uk/math-jax.htm>(long) shows the
same in most, but not all, cases. See in particular page 271 : there, the
root-tick and root-bar of the sin xi equation have a gap, and the root-bar
stops before covering the final prime. The root after dtheta/dt is OK,
but the one after dthetaprime lacks its bar. After cosomega, the root-bar
has a central dip, and the Pi' is a pixel or so higher than the Pi.
Now Zoom by two Ctrl-mousewheel steps. The roots are better, the Pi'
is still elevated with respect to the Pi, and the fraction-bars are too long.
Images are I hope attached.
<p271.PNG><p271-B.PNG>