# laughinghan/mathquill forked from mathquill/mathquill

Fetching contributors…
Cannot retrieve contributors at this time
147 lines (129 sloc) 5.63 KB
 MathQuill Test Page

MathQuill Tests local test page

MathQuill Editables

Initial LaTeX
\frac{d}{dx}\sqrt{x}=\frac{1}{2\sqrt{x}} lolwut $a^2 + b^2 = c^2$. Also, awesomesauce: $\int_0^1 \sin x dx. \sqrt{\editable{x^2+y^2}} Selection Performance: lolwut$a^2 + b^2 = c^2$. Also, awesomesauce:$\int_0^1 \sin x dx.

Dynamic mathquill-ification

Initial LaTeX
\frac{d}{dx}\sqrt{x} = \frac{d}{dx}x^{\frac{1}{2}} = \frac{1}{2}x^{-\frac{1}{2}} = \frac{1}{2\sqrt{x}} \frac{d}{dx}\sqrt{x} = \frac{d}{dx}x^{\frac{1}{2}} = \frac{1}{2}x^{-\frac{1}{2}} = \frac{1}{2\sqrt{x}} \frac{d}{dx}\sqrt{x} = \frac{d}{dx}x^{\frac{1}{2}} = \frac{1}{2}x^{-\frac{1}{2}} = \frac{1}{2\sqrt{x}}
.mathquill('redraw')
\sqrt{ \left ( \frac{x^2 + y^2}{2} \right ) } + \binom{n}{k} \sqrt{ \left ( \frac{x^2 + y^2}{2} \right ) } + \binom{n}{k} \sqrt{ \left ( \frac{x^2 + y^2}{2} \right ) } + \binom{n}{k}

Static LaTeX rendering (.mathquill-embedded-latex) tests

^{\frac{as}{ }df}^{\frac{as}{ }df}
e^{i\pi}+1=0e^{i\pi}+1=0
\nthroot{n}{1}\nthroot{n}{1}
\left ( n+1 \right ) + \frac{1}{\frac{n}{k}}\left ( n+1 \right ) + \frac{1}{\frac{n}{k}}
\sqrt{x}+\sqrt{\frac{x}{\frac{ }{\frac{ }{ }}}}+\sqrt{\frac{x}{\frac{ }{\frac{ }{\frac{ }{\frac{ }{ }}}}}}\sqrt{x}+\sqrt{\frac{x}{\frac{ }{\frac{ }{ }}}}+\sqrt{\frac{x}{\frac{ }{\frac{ }{\frac{ }{\frac{ }{ }}}}}}

There should be no space between here and here, even in IE8

Clicks/mousedown to drag should work anywhere in the blue box:

a_2 x^2 + a_1 x + a_0 = 0
Something went wrong with that request. Please try again.