Sha256: 113f1f6f91ca9c83ab259a735d8c5ca335ea2765474dc35d84e8bf74b51df624

Contents?: true

Size: 525 Bytes

Versions: 3

Compression:

Stored size: 525 Bytes

Contents

// .mathjax-cdn
// Demonstration of the Mathjax :mathjaxdir: attribute in action
// :include: //head/link | //div[@class="slides"]
// :header_footer:
= MathJax
:stem:
:revealjsdir: https://cdn.jsdelivr.net/npm/reveal.js@4.1.1
:mathjaxdir: https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/

== Math Equation

Using standard latexmath:[\LaTeX] syntax:

[stem]
++++
\sqrt{37} = \sqrt{\frac{73^2-1}{12^2}} \approx \frac{73}{12} (1 - \frac{1}{2\cdot73^2})
++++

Another one:

stem:[\sum_{i=0}^n i^2 = \frac{(n^2+n)(2n+1)}{6}]

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
asciidoctor-revealjs-5.1.0 examples/mathjax-cdn.adoc
asciidoctor-revealjs-5.0.1 examples/mathjax-cdn.adoc
asciidoctor-revealjs-5.0.0.rc1 examples/mathjax-cdn.adoc