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
$$
For more information, refer to the KaTeX documentation.
Related topics
- Create a doc – Create a Markdown document.
- Docs introduction – An introduction to docStatic docs.
- Advanced guides – Advanced docStatic guides.
- Assets – Handling assets in docStatic.
- Diagrams – Writing diagrams with Mermaid.
- Guides – DocStatic guides.
- Wikis – Creating wikis in docStatic