updated mathjax, added calc iii notes
This commit is contained in:
@@ -4,9 +4,12 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
{{ if .Param "math" }}
|
||||
{{ partialCached "math.html" . }}
|
||||
{{ end }}
|
||||
<title></title>
|
||||
</head>
|
||||
<body>
|
||||
<body style="width: 60%; margin: 0 auto;">
|
||||
<header>{{ partial "header.html" }}</header>
|
||||
<main>
|
||||
{{ block "main" . }}
|
||||
|
||||
BIN
layouts/_partials/.math.html.swp
Normal file
BIN
layouts/_partials/.math.html.swp
Normal file
Binary file not shown.
18
layouts/_partials/math.html
Normal file
18
layouts/_partials/math.html
Normal file
@@ -0,0 +1,18 @@
|
||||
<script type="text/javascript" id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@4/tex-mml-chtml.js"></script>
|
||||
|
||||
<script>
|
||||
MathJax = {
|
||||
tex: {
|
||||
displayMath: [['\\[', '\\]'], ['$$', '$$']], // block
|
||||
inlineMath: [['\\(', '\\)']] // inline
|
||||
},
|
||||
loader:{
|
||||
load: ['ui/safe']
|
||||
},
|
||||
output: {
|
||||
displayAlign: 'left',
|
||||
displayIndent: '1em'
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user