mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-22 01:36:29 -05:00
docs: Improve consistency in MathJax examples.
Signed-off-by: Pol Dellaiera <pol.dellaiera@protonmail.com>
This commit is contained in:
parent
2cf31a949d
commit
9d93a95d32
1 changed files with 9 additions and 8 deletions
|
@ -250,17 +250,18 @@ Note that not all servers allow embedding their content. See [our FAQ](https://d
|
|||
|
||||
### MathJax
|
||||
|
||||
You can render *LaTeX* mathematical expressions using **MathJax**, as on [math.stackexchange.com](https://math.stackexchange.com/):
|
||||
|
||||
The *Gamma function* satisfying $\Gamma(n) = (n-1)!\quad\forall n\in\mathbb N$ is via the Euler integral
|
||||
You can render *LaTeX* mathematical expressions using [**MathJax**](https://www.mathjax.org/),
|
||||
as on [math.stackexchange.com](https://math.stackexchange.com/). Examples:
|
||||
|
||||
* The Euler's identity: $e^{i\pi} + 1 = 0$
|
||||
* The solution of $f(x)=ax^2+bx+c$ where $a \neq 0$ and $a, b, c \in R$ is
|
||||
$$
|
||||
x = {-b \pm \sqrt{b^2-4ac} \over 2a}.
|
||||
$$
|
||||
|
||||
$$
|
||||
\Gamma(z) = \int_0^\infty t^{z-1}e^{-t}dt\,.
|
||||
x = {-b \pm \sqrt{b^2-4ac} \over 2a}
|
||||
$$
|
||||
* The *Gamma function*: $\Gamma(n) = \begin{cases}
|
||||
\displaystyle (n-1)!\quad\forall n\in\mathbb N\\
|
||||
\displaystyle \int_0^\infty t^{n-1}e^{-t}dt\quad\forall n\in\mathbb R^*_+
|
||||
\end{cases}$
|
||||
|
||||
> More information about **LaTeX** mathematical expressions [here](https://meta.math.stackexchange.com/questions/5020/mathjax-basic-tutorial-and-quick-reference).
|
||||
|
||||
|
|
Loading…
Reference in a new issue