Testing KaTeX.
This commit is contained in:
parent
3c97d5e1cd
commit
d370c71d94
3 changed files with 19 additions and 4 deletions
|
@ -57,9 +57,12 @@ extra_css:
|
|||
- stylesheets/extra.css
|
||||
|
||||
extra_javascript:
|
||||
- javascripts/mathjax.js
|
||||
- https://polyfill.io/v3/polyfill.min.js?features=es6
|
||||
- https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js
|
||||
- javascripts/katex.js
|
||||
- https://unpkg.com/katex@0/dist/katex.min.js
|
||||
- https://unpkg.com/katex@0/dist/contrib/auto-render.min.js
|
||||
|
||||
extra_css:
|
||||
- https://unpkg.com/katex@0/dist/katex.min.css
|
||||
|
||||
nav:
|
||||
- 'Welcome': index.md
|
||||
|
|
12
docs/en/javascripts/katex.js
Normal file
12
docs/en/javascripts/katex.js
Normal file
|
@ -0,0 +1,12 @@
|
|||
document$.subscribe(({ body }) => {
|
||||
|
||||
|
||||
renderMathInElement(body, {
|
||||
delimiters: [
|
||||
{ left: "$$", right: "$$", display: true },
|
||||
{ left: "$", right: "$", display: false },
|
||||
{ left: "\\(", right: "\\)", display: false },
|
||||
{ left: "\\[", right: "\\]", display: true }
|
||||
],
|
||||
})
|
||||
})
|
|
@ -135,7 +135,7 @@ We have from theorem 2 that the outer product of two tensors yields another tens
|
|||
|
||||
## Inner product
|
||||
|
||||
> *Definition 5*: a **pseudo inner product** on $V$ is a nondegenerate bilinear mapping $\boldsymbol{g}: V \times V \to \mathbb{K}$ which satisfies
|
||||
> *Definition 5*: a **pseudo inner product** on $V$ is a nondegenerate bilinear mapping $\bm{g}: V \times V \to \mathbb{K}$ which satisfies
|
||||
>
|
||||
> 1. for all $\mathbf{u} \in V \backslash \{\mathbf{0}\} \exists \mathbf{v} \in V: \; \bm{g}(\mathbf{u},\mathbf{v}) \neq 0$,
|
||||
> 2. for all $\mathbf{u}, \mathbf{v} \in V: \; \bm{g}(\mathbf{u}, \mathbf{v}) = \overline{\bm{g}}(\mathbf{v}, \mathbf{u})$,
|
||||
|
|
Loading…
Reference in a new issue