host katex javascript

This commit is contained in:
2022-04-02 23:15:27 -06:00
parent b6339fbeb1
commit a8cc8b9629
6 changed files with 54 additions and 6 deletions

View File

@@ -35,13 +35,42 @@ projects = []
categories = []
# Set captions for image gallery.
+++
<!-- style math -->
<script>
document.addEventListener("DOMContentLoaded", function() {
renderMathInElement(document.body, {
// customised options
// • auto-render specific keys, e.g.:
delimiters: [
{left: '$$', right: '$$', display: true},
{left: '$', right: '$', display: false},
{left: '\\(', right: '\\)', display: false},
{left: '\\[', right: '\\]', display: true}
],
// • rendering keys, e.g.:
throwOnError : false
});
});
</script>
## Problem Formulation
Inline math: \\(\varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887…\\)
Block math:
$$
\varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } }
$$
## Linear Program Relaxation
## Branch and Bound