<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.18.0/dist/katex.min.css"
integrity="sha384-KfwFj/Q/jGrY4ijtfzWyW5NXzT5irvfnTq6aRnH2xPvLzLdi1XyVr7w4l2uwTq0V" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/katex@0.18.0/dist/katex.min.js"
integrity="sha384-OE4SMRr5gMJQzKSD08J46vKsKgY8NxVtO1LW+/q3NJ0WHsGsdN4oebgEjwwWuyvG" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/katex@0.18.0/dist/contrib/auto-render.min.js"
integrity="sha384-bjyGPfbij8/NDKJhSGZNP/khQVgtHUE5exjm4Ydllo42FwIgYsdLO2lXGmRBf5Mz" crossorigin="anonymous"></script>
<script>
let tex = function() {
const macros = {
'\\e': '\\boldsymbol e',
'\\I': '\\boldsymbol I',
};
let to_do = [];
for (let e of document.getElementsByTagName("code")) {
if (e.parentNode.classList.contains("language-gdef")) {
to_do.push(function () {
if (!e.hasAttribute("data-tex")) {
e.setAttribute("data-tex", "true");
let x = document.createElement('span');
e.parentNode.parentNode.remove();
katex.render(e.innerText, x, {displayMode: true, throwOnError: true, macros});
}
});
} else if (e.parentNode.classList.contains("language-math")) {
to_do.push(function () {
if (!e.hasAttribute("data-tex")) {
e.setAttribute("data-tex", "true");
let x = document.createElement('span');
e.parentNode.appendChild(x);
katex.render(e.innerText, x, {displayMode: true, throwOnError: true, macros});
}
});
} else {
let n = e.nextSibling;
let p = e.previousSibling;
if (n && p && /^\$/.test(n.data) && /\$$/.test(p.data)) {
to_do.push(function () {
if (!e.hasAttribute("data-tex")) {
e.setAttribute("data-tex", "true");
let n = e.nextSibling;
let p = e.previousSibling;
let x = document.createElement('span');
katex.render(e.innerText, x, {throwOnError: true, macros});
e.parentNode.replaceChild(x, e);
n.splitText(1);
n.remove();
p.splitText(p.data.length - 1).remove();
}
});
}
}
}
let t = function() { for (let f of to_do) f() };
t();
for (let i = 0; i < 8; i++)
setTimeout(t, 100 * 2 ** i);
}
tex();
document.addEventListener("readystatechange", tex);
</script>
<style>
.docblock > p {
overflow-x: visible !important;
}
.katex {
font-size: 1.0em !important;
}
.language-inline-math {
background-color: transparent !important;
}
.language-math {
background-color: transparent !important;
}
.language-math > code {
display: none !important;
}
</style>