Created
March 24, 2019 12:19
-
-
Save teeGraco/39327c3d34a43d62320e114faafbf90f to your computer and use it in GitHub Desktop.
MathJax_config_file
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
<script type="text/x-mathjax-config"> | |
MathJax.Hub.Config({ | |
tex2jax: { | |
inlineMath: [['$','$'], ['\\(','\\)']], //インライン数式を可能にする. | |
processEscapes: true | |
}, | |
"HTML-CSS": { | |
availableFonts: ["TeX"], | |
undefinedFamily: "'Raleway', Helvetica, Arial, sans-serif", //フォントをsans-serifに変更. | |
linebreaks: { | |
automatic: true //行の折り返しを明示的に許可.defaultはfalse | |
}}, | |
SVG:{ | |
automatic: true //行の折り返しを明示的に許可.defaultはfalse | |
}, | |
CommonHTML: { matchFontHeight: false }, | |
}); | |
</script> | |
<script type="text/x-mathjax-config"> | |
MathJax.Hub.Register.StartupHook("mml Jax Ready",function () { | |
/* 行間が詰まることを防ぐ.明示的に1.2文字文の空間を開ける. */ | |
MathJax.ElementJax.mml.math.prototype.defaults.lineleading = "1.2em"; | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment