Quantcast
Channel: DokuWiki
Viewing all articles
Browse latest Browse all 25535

plugin:mathjax - Changing default size or scale

$
0
0
1459351774current
Line 106:Line 106:
 See the [[http://docs.mathjax.org/en/latest/tex.html#automatic-equation-numbering|MathJax documentation]] or the [[http://cdn.mathjax.org/mathjax/latest/test/examples.html|MathJax examples page]] for the syntax for creating automatic references to equations, as well. See the [[http://docs.mathjax.org/en/latest/tex.html#automatic-equation-numbering|MathJax documentation]] or the [[http://cdn.mathjax.org/mathjax/latest/test/examples.html|MathJax examples page]] for the syntax for creating automatic references to equations, as well.
  
 +==== Changing default size or scale ====
 +
 +The default size of equations can be changed by adding the "CommonHTML" section and using the "scale" parameter. A value of "125" means "125%".
 +
 +  MathJax.Hub.Config({
 +    tex2jax: {
 +        inlineMath: [ ["$","$"], ["\\(","\\)"] ],
 +        displayMath: [ ["$$","$$"], ["\\[","\\]"] ],
 +        processEscapes: true
 +    },
 +  CommonHTML: {
 +    scale: 125
 +  }
 +  });
 ===== Development ===== ===== Development =====
  

Viewing all articles
Browse latest Browse all 25535

Latest Images

Trending Articles



Latest Images