Created
January 2, 2015 21:41
-
-
Save pkra/e1de4f9d761ad0ac69f9 to your computer and use it in GitHub Desktop.
mathjax custom configuration test (mathjax-user group question)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.MathJax = { | |
jax: ["input/TeX", "output/HTML-CSS"], | |
extensions: ["tex2jax.js","TeX/AMSmath.js","TeX/AMSsymbols.js", | |
"TeX/noUndefined.js"], | |
TeX: { | |
Macros: { | |
RR: '{\\bf R}', | |
bold: ['{\\bf #1}', 1], | |
pd: ["{\\frac{\\partial #1}{\\partial #2}}",2], | |
// etc.... | |
} | |
}, | |
tex2jax: { | |
inlineMath: [ ["\\(","\\)"],['$','$'] ], | |
displayMath: [ ['$$','$$'], ["\\[","\\]"], ["\\begin{displaymath}","\\end{displaymath}"] ], | |
skipTags: ["script","noscript","style","textarea","pre","code"], | |
ignoreClass: "tex2jax_ignore", | |
processEscapes: false, | |
processEnvironments: true, | |
preview: "TeX" | |
}, | |
showProcessingMessages: true, | |
displayAlign: "center", | |
displayIndent: "2em", | |
"HTML-CSS": { | |
scale: 100, | |
availableFonts: ["STIX","TeX"], | |
preferredFont: "TeX", | |
webFont: "TeX", | |
imageFont: "TeX", | |
showMathMenu: true, | |
}, | |
MMLorHTML: { | |
prefer: { | |
MSIE: "MML", | |
Firefox: "MML", | |
Opera: "HTML", | |
other: "HTML" | |
} | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment