Getting started with deck.js:
simplemath extension
use right arrow to move on
“simplemath”: What?
- Add math equations in your slides
- Use latex syntax
- Just wrap your maths in a "span" element
- Wants to learn latex syntax?
- … examples on the next slide
“simplemath” in action
-
e=mc^2
(\frac{x^2}{y^3})
[\begin{array}{cc} \sqrt{x} & 2 \\ 3 & x^4 \end{array}]
-
f(n) = \left\{
\begin{array}{l l}
n/2 & \mbox{if } n \mbox{ is even}\\
-(n+1)/2 & \mbox{if } n \mbox{ is odd}
\end{array}
- a^2 + \frac{1}{\sqrt{a^2 + \frac{1}{\sqrt{a^2 + \frac{1}{\sqrt{a^2 + b^{\infty}}}}}}}
Principle
- Written in Javascript
- Interprets latex syntax
- Generates MathML (web standard for maths)
- Lets your browser render the MathML
- Works fully offline
- − depends on browser support for MathML
- + works offline :)
Digging Deeper
If you want to learn more, you can:
/