Équations mathématiques
Les équations mathématiques peuvent être affichées à l'aide de KaTeX.
Utilisation
Pour utiliser KaTeX depuis le CMS, intégrez la chaîne de caractères dans un composant Passthrough. Vous pouvez inclure un Résumé qui s'affichera en ligne lors de la modification de la rubrique.
En ligne
Écrivez des équations mathématiques en ligne en encadrant les équations LaTeX entre `
path:guides/markdown-features/math-equations.mdx title:Math equations
# Math equations
Mathematical equations can be rendered using KaTeX.
Use
To use KaTeX from the CMS, embed the string in a Passthrough component. You can include a Summary that will appear inline when editing the topic.
Inline
Write inline math equations by wrapping LaTeX equations between $:
Let $f\colon[a,b]\to\R$ be Riemann integrable. Let $F\colon[a,b]\to\R$ be
$F(x)=\int_{a}^{x} f(t)\,dt$. Then $F$ is continuous, and at all $x$ such that
$f$ is continuous at $x$, $F$ is differentiable at $x$ with $F'(x)=f(x)$.
Let be Riemann integrable. Let be . Then is continuous, and at all such that is continuous at , is differentiable at with .
Blocks
For equation block or display mode, use line breaks and $$:
$$
I = \int_0^{2\pi} \sin(x)\,dx
$$
\n\n
For more information, refer to the KaTeX documentation.