π Overview
Currently, some mathematical formulas in the project documentation/pages are written in plain text or standard Markdown, which significantly impacts readability. I suggest converting these formulas into LaTeX format so they can be properly rendered using standard tools like MathJax or KaTeX.
π Formula Mapping
Here are some examples:
| Context |
Current Plain Text Formula |
LaTeX Formula |
The rendering result of LaTeX |
| Quadratic formula |
x = (-b +/- sqrt(b^2 - 4ac)) / 2a |
$x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}$ |
$x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}$ |
| The formal definition |
f'(x) = limit (h -> 0) [f(x + h) - f(x)] / h |
$f'(x) = \lim\limits_{h \to 0} \frac{f(x + h) - f(x) }{h}$ |
$f'(x) = \lim\limits_{h \to 0} \frac{f(x + h) - f(x) }{h}$ |
| The definition of gradient |
grad f = [ df/dx, df/dy, df/dz ] |
$\text{grad } f = \left[ \frac{\partial f}{\partial x}, \frac{\partial f}{\partial y}, \frac{\partial f}{\partial z}\right]$ |
$\text{grad } f = \left[ \frac{\partial f}{\partial x}, \frac{\partial f}{\partial y}, \frac{\partial f}{\partial z}\right]$ |
π οΈ Suggested Implementation
- For inline formulas, use single dollar signs:
$ formula $
- For standalone block formulas, use double dollar signs:
$$ formula $$
π Overview
Currently, some mathematical formulas in the project documentation/pages are written in plain text or standard Markdown, which significantly impacts readability. I suggest converting these formulas into LaTeX format so they can be properly rendered using standard tools like MathJax or KaTeX.
π Formula Mapping
Here are some examples:
$x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}$$f'(x) = \lim\limits_{h \to 0} \frac{f(x + h) - f(x) }{h}$$\text{grad } f = \left[ \frac{\partial f}{\partial x}, \frac{\partial f}{\partial y}, \frac{\partial f}{\partial z}\right]$π οΈ Suggested Implementation
$ formula $$$ formula $$