blob: 533d3b3591c834683936144ece3751dd78e93a5f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
+++
title = "Math Support"
description = ""
toc = true
authors = ["example-author"]
tags = []
categories = []
series = []
date = "2020-11-20T22:52:56+08:00"
lastmod = "2020-11-20T22:52:56+08:00"
featuredImage = ""
draft = false
+++
Eureka supports the rendering of mathematical formulas by using KaTeX.
<!--more-->
You can type inline equation like $E=mc^2$.
And also displayed equation like:
<div>
\[ \int u \frac{dv}{dx}\, dx=uv-\int \frac{du}{dx}v\,dx \]
</div>
Matrix:
<div>
\[ \begin{pmatrix} a&b\\c&d \end{pmatrix} \quad
\begin{bmatrix} a&b\\c&d \end{bmatrix} \quad
\begin{Bmatrix} a&b\\c&d \end{Bmatrix} \quad
\begin{vmatrix} a&b\\c&d \end{vmatrix} \]
</div>
Aligned equation:
<div>
\[\begin{aligned}
x ={}& a+b+c+{} \\
&d+e+f+g
\end{aligned}\]
</div>
And many other kinds of formulas.
|