Davide
When a topic gets a reply (like my answer), it gets moved to the top,
and since I try to answer approximately in the order they arrived, you
will see earlier topics move above yours as they are answered. But I
get all the messages in email, so I don't lose track of them even if
they aren't on the top of the Google listing.
As for your question, there currently is no official way to get the
\everymath effect. I have written an extension that provides it and
submitted it to the contributed extensions library being maintained by
Tom Leathrum. When he gets back from the Joint Mathematics Meetings
next week, he will add that to the library, and I'm sure will post how
to access it.
What you really want is not quite \everymath anyway, since
\everymath{\displaystyle} may not do what you expect. For example, it
will not properly handle $$ x \over y $$ since only the numerator will
be in display style. What you really want is to put \display{...}
around the math, and \everymath can't do that.
So I might suggest the following code instead. Add the following to
your page
<script type="text/x-mathjax-config">
MathJax.Hub.Register.StartupHook("TeX Jax Ready",function () {
var TEX = MathJax.InputJax.TeX;
var PREFILTER = TEX.prefilterMath;
TEX.Augment({
prefilterMath: function (math,displaymode,script) {
math = "\\displaystyle{"+math+"}";
return PREFILTER.call(TEX,math,displaymode,script);
}
});
});
</script>
before the <script> that loads MathJax.js and that should make all
your mathematics show up in display style.
Davide
I was just working
on some example code for you, and was just getting ready to reply, but
I am now going to wait until tomorrow, so your repeated request has
actually delayed your response.Davide
--
You received this message because you are subscribed to the Google Groups "MathJax Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mathjax-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mathjax-users/40e31d64-a1ab-4cad-a47d-f41cc27611c1n%40googlegroups.com.