-
Notifications
You must be signed in to change notification settings - Fork 132
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move MathJax code to mathjax.html partial # test site
- Loading branch information
1 parent
deb3a46
commit 18021c8
Showing
3 changed files
with
25 additions
and
46 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<script type="text/x-mathjax-config"> | ||
MathJax.Hub.Config({ | ||
displayAlign: "center", | ||
displayIndent: "0em", | ||
|
||
"HTML-CSS": { scale: 100, | ||
linebreaks: { automatic: "false" }, | ||
webFont: "TeX" | ||
}, | ||
SVG: {scale: 100, | ||
linebreaks: { automatic: "false" }, | ||
font: "TeX"}, | ||
NativeMML: {scale: 100}, | ||
TeX: { equationNumbers: {autoNumber: "AMS"}, | ||
MultLineWidth: "85%", | ||
TagSide: "right", | ||
TagIndent: ".8em" | ||
} | ||
}); | ||
</script> | ||
<!-- https://gohugo.io/content-management/formats/#mathjax-with-hugo --> | ||
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS_HTML"></script> | ||
<!-- <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-MML-AM_CHTML"></script> --> |