Learn Numerical method
Crated date: 2022-02-22
1 Introduction¶
With the help of remark-math
and rehype-katex
, the math notation is supported.
1.1 Inline math¶
Some inline math, coming right up. \(T_n = a + (n-1)d\)
1.2 Math block¶
Or math block:
\[ T_n = a + (n-1)d \]
Using begin align
$$
\begin{aligned}
\nabla \times \vec{\mathbf{B}} -\, \frac1c\, \frac{\partial\vec{\mathbf{E}}}{\partial t} & = \frac{4\pi}{c}\vec{\mathbf{j}} \\[1em]
\nabla \cdot \vec{\mathbf{E}} & = 4 \pi \rho \\[0.5em]
\nabla \times \vec{\mathbf{E}}\, +\, \frac1c\, \frac{\partial\vec{\mathbf{B}}}{\partial t} & = \vec{\mathbf{0}} \\[1em]
\nabla \cdot \vec{\mathbf{B}} & = 0 \end{aligned}
$$
\[ \begin{aligned} \nabla \times \vec{\mathbf{B}} -\, \frac1c\, \frac{\partial\vec{\mathbf{E}}}{\partial t} & = \frac{4\pi}{c}\vec{\mathbf{j}} \\[1em] \nabla \cdot \vec{\mathbf{E}} & = 4 \pi \rho \\[0.5em] \nabla \times \vec{\mathbf{E}}\, +\, \frac1c\, \frac{\partial\vec{\mathbf{B}}}{\partial t} & = \vec{\mathbf{0}} \\[1em] \nabla \cdot \vec{\mathbf{B}} & = 0 \end{aligned} \]
To add latex to Gatsby 4, I followed this website https://kxxt.vercel.app/blog/using-katex-with-mdx-in-gatsby/
2 References¶
3 Related¶
Created : Feb 22, 2022
Recent Posts
- 2024-10-03: Interactive Graph-Mkdocs
- 2023-11-07: Sankey-chart-budget-contribution
- 2023-10-27: My-First-Training-Academic
- 2023-10-06: Export-shapefile-with-Style
- 2023-10-01: Anki-Assimil
- 2023-10-01: CV-Markdown
- 2023-09-19: Change Point Detection Methods
- 2023-09-14: Chat-GPT-Obsidian
- 2023-09-13: Google-Photo-Obsidian
- 2023-09-12: Superchinese-App