Slide 1
- This example uses the
bespoke-math.min.js
version (default) of this plugin - That means that the font-face files from KaTeX are retrieved from the CDN.
Slide 2: inline formula
- Source code:
<span class="math">d = \frac{a^2+b^2}{\sqrt(c)}</span>
- Result: d = \frac{a^2+b^2}{\sqrt(c)}
Slide 3: display formula
- Source code:
<div class="math">d = \frac{a^2+b^2}{\sqrt(c)}</div>
- Result:
d = \frac{a^2+b^2}{\sqrt(c)}
Slide 4: Matrices
- Source code:
<div class="math"> R = \begin{bmatrix}x & y & z & w\end{bmatrix}^T </div>
- Result:
R = \begin{bmatrix}x & y & z & w\end{bmatrix}^T