From 5a774ef6f3b38b19b26913a34b1388530c72334e Mon Sep 17 00:00:00 2001 From: Christian Franke Date: Tue, 9 Apr 2013 14:31:22 +0200 Subject: Initial Commit --- deck.js/samples/deck-simplemath.html | 151 +++++++++++++++++++++++++++++++++++ 1 file changed, 151 insertions(+) create mode 100644 deck.js/samples/deck-simplemath.html (limited to 'deck.js/samples/deck-simplemath.html') diff --git a/deck.js/samples/deck-simplemath.html b/deck.js/samples/deck-simplemath.html new file mode 100644 index 0000000..9e7693a --- /dev/null +++ b/deck.js/samples/deck-simplemath.html @@ -0,0 +1,151 @@ + + + + + + + + + + deck.simplemath.js test/demo + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +This page surely has a purpose.
+Use left/right arrow keys to browse the presentation.
+ + +
+ + +
+

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 :)
    • + +
    +
+
+
+

Browser support

+ +
+ + + + + + + + + +# + + + +
+ + -- cgit v1.2.1