Science98 words1 min read
Amytis uses rehype-katex to render beautiful mathematical formulas. Inline Math The Pythagorean theorem is $a^2 + b^2 = c^2$. We can also express complex number...
Amytis uses rehype-katex to render beautiful mathematical formulas.
Inline Math
The Pythagorean theorem is a2+b2=c2a^2 + b^2 = c^2. We can also express complex numbers like eiπ+1=0e^{i\pi} + 1 = 0.
Block Math
For more complex equations, use block math:
I=∫−∞∞e−x2dx=πI = \int_{-\infty}^{\infty} e^{-x^2} dx = \sqrt{\pi}
Or Maxwell's equations:
∇⋅E=ρε0∇⋅B=0∇×E=−∂B∂t∇×B=μ0(J+ε0∂E∂t)\begin{aligned} \nabla \cdot \mathbf{E} &= \frac{\rho}{\varepsilon_0} \\ \nabla \cdot \mathbf{B} &= 0 \\ \nabla \times \mathbf{E} &= -\frac{\partial \mathbf{B}}{\partial t} \\ \nabla \times \mathbf{B} &= \mu_0\left(\mathbf{J} + \varepsilon_0 \frac{\partial \mathbf{E}}{\partial t}\right) \end{aligned}













