# javascript - Change Fomula before typesetting MathJax

Suppose, I have many formulae on the page.

I want to enclose each formula in \large{}, i.e. $x+1$ becomes $\large{x+1}$.

Is there any way I can do this with MathJax or I need to set skipstartup to true, manually add and then queue typeset?

Is there any way MathJax could fetch those formulae?

Thank you.

Answer is to use prefilter:

  <script type="text/x-mathjax-config">