• Demo of the LaTeX equation editor

    Benchoff10/22/2014 at 19:22 0 comments

    \color{White} \large e^{i\pi} +1 = 0

    Isn't that cool? We have support for LaTeX equations in hackaday.io now. We can do simple stuff like Euler's identity, or vastly more typographically complex equations:

    \color{White} \large \lim \limits_{x \to c} \frac{{f\left( x \right)}}{{g\left( x \right)}} = \mathop {\lim }\limits_{x \to c} \frac{{f'\left( x \right)}}{{g'\left( x \right)}}

    \color{White} \large \begin{matrix} a & b & c \\ d & e & f \\ g & h & i \end{matrix}
    \color{White} \large x = a_0 + \cfrac{1}{a_1 + \cfrac{1}{a_2 + \cfrac{1}{a_3 + \cfrac{1}{a_4} } } }

    \color{White} \large f(n) = n^5 + 4n^2 + 2 |_{n=17}

    \color{White} \large \sum_{\substack{ 0<i<m \\ 0<j<n }} P(i,j)

    There are a few limitations to this equation editor. Although it uses LaTeX syntax, we're not making hackaday.io Turing/functionally complete. It's just an equation editor. Don't try anything crazy, because it won't work.

    Small bits of LaTeX, like \LaTeX, don't work. Again, it's just an equation editor. Don't even think about writing your thesis as a project log. It's just an equation editor.

    To access the equation editor, just higlight some text, and the editor dialog box will pop up:

    From there, click on the \Sigma, and you'll get the LaTeX equation editor:

    Pretty cool, huh?

    If you have any suggestions on how to make the equation editor better, or are experiencing any bugs, leave a comment on this project. That'll be forwarded to the right person.