code: def set_mathjax_style(style_css, mathfontsize):
      
  
      jax_style = """<script>
      MathJax.Hub.Config({
          "HTML-CSS": {
              /*preferredFont: "TeX",*/
              /*availableFonts: ["TeX", "STIX"],*/
              styles: {
                  scale: %d,
                  ".MathJax_Display": {
                      "font-size": %s,
                  }
              }
          }
      });\n</script>
      """ % (int(mathfontsize), '"{}%"'.format(str(mathfontsize)))
  
      style_css += jax_style
      return style_css
docs: Write mathjax settings, set math fontsize