Commit 12b89815 authored by Vincent Tam's avatar Vincent Tam

Testing refactoring

parent 7e20d3e3
Pipeline #31241766 passed with stages
in 35 seconds
......@@ -28,7 +28,8 @@ googleAnalytics = "UA-46788371-4"
socialShare = true
# gcse = "012345678901234567890:abcdefghijk" # Get your code from google.com/cse. Make sure to go to "Look and Feel" and change Layout to "Full Width" and Theme to "Classic"
copyright = "CC BY-SA 4.0"
custom_css = ["css/custom.css", "css/print.min.css"]
custom_css = ["custom.css", "print.min.css"]
custom_js = ["katex-macros.js"]
#[[Params.bigimg]]
# src = "img/triangle.jpg"
......
......@@ -12,7 +12,11 @@ draft: true
### Some notations
$\foo{d}$
$\card{R}, \int_0^1 f(x)$
$$
\int_0^1 f(x) \id
$$
Unless otherwise specified, _all_ supinalities here are _infinite_. Denote
$\mathfrak{a} = \sup{A}$
......
......@@ -13,16 +13,6 @@
</div>
</div>
<script>
renderMathInElement(
document.body,
{
delimiters: [
{left: "$$", right: "$$", display: true},
{left: "\\[", right: "\\]", display: true},
{left: "$", right: "$", display: false},
{left: "\\(", right: "\\)", display: false}
]
}
);
</script>
{{ range .Site.Params.custom_js -}}
<script src="{{ . | relURL }}"></script>
{{- end }}
{{ range .Site.Params.custom_css -}}
<link rel="stylesheet" href="{{ . | absURL }}">
{{- end }}
{{ range .Site.Params.custom_css }}
<link rel="stylesheet" href="{{ . | relURL }}">
{{ end }}
document.addEventListener("DOMContentLoaded", function() {
renderMathInElement(document.body, {
delimiters: [
{left: "$$", right: "$$", display: true},
{left: "\\[", right: "\\]", display: true},
{left: "$", right: "$", display: false},
{left: "\\(", right: "\\)", display: false}
],
macros: {
"\\field": "\\mathbb{#1}",
"\\C": "\\field{C}",
"\\F": "\\field{F}",
"\\Q": "\\field{Q}",
"\\GL": "\\mathrm{GL}",
"\\SL": "\\mathrm{SL}",
"\\Aut": "\\mathrm{Aut}",
"\\id": "\\mathop{\\mathrm{id}}",
"\\card": "\\mathop{\\mathrm{card}(#1)}",
"\\vect": "\\boldsymbol{\\mathbf{#1}}",
"\\zeros": "\\mathbf{0}",
"\\Re": "\\mathop{\\mathrm{Re}}",
"\\Im": "\\mathop{\\mathrm{Im}}",
"\\dd": "\\mathop{\\mathrm{d} #1}",
"\\dn": "\\mathop{\\mathrm{d}^{#1} #2}",
"\\abs": "\\lvert#1\\rvert",
"\\abslr": "\\left\\lvert#1\\right\\rvert",
"\\norm": "\\lvert#1\\rvert",
"\\normlr": "\\left\\lvert#1\\right\\rvert",
"\\lcm": "\\mathop{\\mathrm{lcm}}",
"\\interior": "\\mathop{\\mathrm{int}}",
"\\ext": "\\mathop{\\mathrm{ext}}",
"\\vol": "\\mathop{\\mathrm{vol}}",
"\\E": "{\\rm i\\kern-.3em E}",
"\\Var": "\\mathop{\\mathrm{Var}}",
"\\Cov": "\\mathop{\\mathrm{Cov}}",
"\\Binom": "\\mathop{\\mathrm{Binom}}",
"\\Exp": "\\mathop{\\mathrm{Exp}}",
"\\Poi": "\\mathop{\\mathrm{Poi}}",
}
});
});
Subproject commit 60ad3153b534735e43e6e0f85a70e7ded879bf3e
Subproject commit 54542247ef10bcf590391e2fb702f755dc2ff6b1
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment