Jump To Content

LearnHub




Equation Editor

The equation editor is a powerful tool that allows you to create the most complex math and science equations within your Lesson Page or Test.

I created a lesson but equations don't work, what's up?

You are most likely using the Rich Text Editor,which doesn't allow textiles and equations. In order to do equations in a lesson page you must create a new lesson in the Pro Editor. For more information on how to create and use the pro editor, please read the How to: Pro Editor lesson.

How do I create a equation in my lesson and or test?

All equations must be used in the <math> ... </math> syntax. Which is very similar to writing HTML tags. You can separate regular text from the equation.

For example, typing: <math>2+2=4</math> will generate this image: 2+2=4.

What format does the equations render in?

When you create a equation syntax it is rendered as a PNG image.

What can I do with the equation editor?

There is so much you can do with the editor, here are a quick few, simple, equations you can do:

Code Result
2 + 2 = 4 2 + 2 = 4
6 \div 2 = 3 6 \div 2 = 3
12 * 2-10=34 12*2-10 = 14
a ^ 2 + b ^ 2 = c ^ 2 a ^ 2 + b ^ 2 = c ^ 2
\frac{2}{4}=0.5 \frac{2}{4}=0.5

What all can I produce with the equation editor?

The following is a breakdown of exactly what you can do, and how to do it:

Functions, Symbols, and Special Characters

Accents/Diacritics
\acute{a} \grave{a} \hat{a} \tilde{a} \breve{a} \acute{a} \grave{a} \hat{a} \tilde{a} \breve{a}
\check{a} \bar{a} \ddot{a} \dot{a} \check{a} \bar{a} \ddot{a} \dot{a}
Standard functions
\sin a \cos b \tan c \sin a \cos b \tan c
\sec d \csc e \cot f \sec d \csc e \cot f
\arcsin h \arccos i \arctan j \arcsin h \arccos i \arctan j
\sinh k \cosh l \tanh m \coth n \sinh k \cosh l \tanh m \coth n
\operatorname{sh}o \operatorname{ch}p \operatorname{th}q \operatorname{sh}o \operatorname{ch}p \operatorname{th}q
\operatorname{argsh}r \operatorname{argch}s \operatorname{argth}t \operatorname{argsh}r \operatorname{argch}s \operatorname{argth}t
\lim u \limsup v \liminf w \min x \max y \lim u \limsup v \liminf w \min x \max y
\inf z \sup a \exp b \ln c \lg d \log e \log_{10} f \ker g \inf z \sup a \exp b \ln c \lg d \log e \log_{10} f \ker g
\deg h \gcd i \Pr j \det k \hom l \arg m \dim n \deg h \gcd i \Pr j \det k \hom l \arg m \dim n
Modular arithmetic
s_k \equiv 0 \pmod{m} a \bmod b s_k \equiv 0 \pmod{m} a \bmod b
Derivatives
\nabla \partial x dx \dot x \ddot y \nabla \partial x dx \dot x \ddot y
Sets
\forall \exists \empty \emptyset \varnothing \forall \exists \empty \emptyset \varnothing
\in \ni \not \in \notin \subset \subseteq \subsetneq \supset \supseteq \supsetneq \in \ni \not \in \notin \subset \subseteq \subsetneq \supset \supseteq \supsetneq
\cap \bigcap \cup \bigcup \biguplus \setminus \smallsetminus \cap \bigcap \cup \bigcup \biguplus \setminus \smallsetminus
\sqsubset \sqsubseteq \sqsupset \sqsupseteq \sqcap \sqcup \bigsqcup \sqsubset \sqsubseteq \sqsupset \sqsupseteq \sqcap \sqcup \bigsqcup
Operators
+ \oplus \bigoplus \pm \mp - + \oplus \bigoplus \pm \mp -
\times \otimes \bigotimes \cdot \circ \bullet \bigodot \times \otimes \bigotimes \cdot \circ \bullet \bigodot
\star * / \div \frac{1}{2} \star * / \div \frac{1}{2}
Logic
\land \wedge \bigwedge \bar{q} \to p \land \wedge \bigwedge \bar{q} \to p
\lor \vee \bigvee \lnot \neg q \And \lor \vee \bigvee \lnot \neg q \And
Root
\sqrt{2} \sqrt[n]{x} \sqrt{2} \sqrt[n]{x}
Relations
\sim \approx \simeq \cong \dot= \overset{\underset{\mathrm{def}}{}}{=} \sim \approx \simeq \cong \dot= \overset{\underset{\mathrm{def}}{}}{=}
Geometric
Arrows
\leftarrow \gets \rightarrow \to \not\to \leftrightarrow \longleftarrow \longrightarrow \leftarrow \gets \rightarrow \to \not\to \leftrightarrow \longleftarrow \longrightarrow
\mapsto \longmapsto \hookrightarrow \hookleftarrow \nearrow \searrow \swarrow \nwarrow \mapsto \longmapsto \hookrightarrow \hookleftarrow \nearrow \searrow \swarrow \nwarrow
\uparrow \downarrow \updownarrow \rightharpoonup \rightharpoondown \leftharpoonup \leftharpoondown \upharpoonleft \uparrow \downarrow \updownarrow \rightharpoonup \rightharpoondown \leftharpoonup \leftharpoondown \upharpoonleft
\upharpoonright \downharpoonleft \downharpoonright \rightleftharpoons \Leftarrow \Rightarrow \Leftrightarrow \Longleftarrow \upharpoonright \downharpoonleft \downharpoonright \rightleftharpoons \Leftarrow \Rightarrow \Leftrightarrow \Longleftarrow
\upharpoonright \downharpoonleft \downharpoonright \rightleftharpoons \Leftarrow \Rightarrow \Leftrightarrow \Longleftarrow \upharpoonright \downharpoonleft \downharpoonright \rightleftharpoons \Leftarrow \Rightarrow \Leftrightarrow \Longleftarrow
\Longrightarrow \Longleftrightarrow (or \iff) \Uparrow \Downarrow \Updownarrow \leftleftarrows \leftrightarrows \Lleftarrow \leftarrowtail \looparrowleft \Longrightarrow \Longleftrightarrow (or \iff) \Uparrow \Downarrow \Updownarrow \leftleftarrows \leftrightarrows \Lleftarrow \leftarrowtail \looparrowleft
\leftrightharpoons \curvearrowleft \circlearrowleft \Lsh \upuparrows \rightrightarrows \rightleftarrows \Rrightarrow \rightarrowtail \looparrowright \leftrightharpoons \curvearrowleft \circlearrowleft \Lsh \upuparrows \rightrightarrows \rightleftarrows \Rrightarrow \rightarrowtail \looparrowright
\curvearrowright \circlearrowright \Rsh \downdownarrows \multimap \leftrightsquigarrow \rightsquigarrow \nLeftarrow \nleftrightarrow \nRightarrow \curvearrowright \circlearrowright \Rsh \downdownarrows \multimap \leftrightsquigarrow \rightsquigarrow \nLeftarrow \nleftrightarrow \nRightarrow
\nLeftrightarrow \longleftrightarrow \nLeftrightarrow \longleftrightarrow
Special
Unsorted

Subscripts, superscripts, integrals

Super/Subscript
a ^ 2 a ^ 2
a_2 a_2
a{2+2} a ^ {2+2}
a_{i,j} a_{i,j}
x_23 x_2 ^ 3
Preceding and/or Additional
\sideset{_1 ^ 2}{_3 ^ 4}\prod_a ^ b \sideset{_1 ^ 2}{_3 ^ 4}\prod_a ^ b
{}_1 ^ 2\!\Omega_3 ^ 4 {}_1 ^ 2\!\Omega_3 ^ 4
Stacking
\overset{\alpha}{\omega} \overset{\alpha}{\omega}
\underset{\alpha}{\omega} \underset{\alpha}{\omega}
\overset{\alpha}{\underset{\gamma}{\omega}} \overset{\alpha}{\underset{\gamma}{\omega}}
\stackrel{\alpha}{\omega} \stackrel{\alpha}{\omega}
Derivative
x ^ \prime, y ^ {\prime\prime} x ^ \prime, y ^ {\prime\prime}
x\prime, y\prime\prime, f\prime x\prime, y\prime\prime, f\prime
\dot{x}, \ddot{x} \dot{x}, \ddot{x}
Underlines, Overlines, Vectors
\hat a \ \bar b \ \vec c \hat a \ \bar b \ \vec c
\overrightarrow{a b} \ \overleftarrow{c d} \ \widehat{d e f} \overrightarrow{a b} \ \overleftarrow{c d} \ \widehat{d e f}
\overline{g h i} \ \underline{j k l} \overline{g h i} \ \underline{j k l}
Arrows
A \xleftarrow{n+\mu-1} B \xrightarrow[T]{n\pm i-1} C A \xleftarrow{n+\mu-1} B \xrightarrow[T]{n\pm i-1} C
Over/Underbraces
\overbrace{ 1+2+\cdots+100 }^{5050} \overbrace{ 1+2+\cdots+100 }^{5050}
\underbrace{ a+b+\cdots+z }_{26} \underbrace{ a+b+\cdots+z }_{26}
Sum, Product, Limit
\sum_{k=1}^N k^2 \sum_{k=1}^N k^2
\textstyle \sum_{k=1}^N k^2 \textstyle \sum_{k=1}^N k^2
\prod_{i=1}^N x_i \prod_{i=1}^N x_i
\textstyle \prod_{i=1}^N x_i \textstyle \prod_{i=1}^N x_i
\coprod_{i=1}^N x_i \coprod_{i=1}^N x_i
\textstyle \coprod_{i=1}^N x_i \textstyle \coprod_{i=1}^N x_i
\lim_{n \to \infty}x_n \lim_{n \to \infty}x_n
\textstyle \lim_{n \to \infty}x_n \textstyle \lim_{n \to \infty}x_n
Integral, Intersections, Unions
\int_{-N} ^ {N} e ^ x\, dx \int_{-N} ^ {N} e ^ x\, dx
\textstyle \int_{-N} ^ {N} e ^ x\, dx \textstyle \int_{-N} ^ {N} e ^ x\, dx
\iint_{D} ^ {W} \, dx\,dy \iint_{D} ^ {W} \, dx\,dy
\iiint_{E} ^ {V} \, dx\,dy\,dz \iiint_{E} ^ {V} \, dx\,dy\,dz
\iiiint_{F} ^ {U} \, dx\,dy\,dz\,dt \iiiint_{F} ^ {U} \, dx\,dy\,dz\,dt
\oint_{C} x ^ 3\, dx + 4y ^ 2\, dy  \oint_{C} x ^ 3\, dx + 4y ^ 2\, dy
\bigcap_1 ^ {n} p \bigcap_1 ^ {n} p
\bigcup_1 ^ {k} p \bigcup_1 ^ {k} p

Fractions, Coefficients

Fractions
\frac{2}{4}=0.5 \frac{2}{4}=0.5
\tfrac{2}{4} = 0.5 \tfrac{2}{4} = 0.5
\dfrac{2}{4} = 0.5 \dfrac{2}{4} = 0.5
\cfrac{2}{c + \cfrac{2}{d + \cfrac{2}{4}}} = a \cfrac{2}{c + \cfrac{2}{d + \cfrac{2}{4}}} = a
Coefficients
\binom{n}{k} \binom{n}{k}
\tbinom{n}{k} \tbinom{n}{k}
\dbinom{n}{k} \dbinom{n}{k}

Parenthesizing big expressions, brackets, bars

Parentheses, Brackets, Braces
\left ( \frac{a}{b} \right ) \left ( \frac{a}{b} \right )
\left [ \frac{a}{b} \right ] \quad \left \lbrack \frac{a}{b} \right \rbrack \left [ \frac{a}{b} \right ] \quad \left \lbrack \frac{a}{b} \right \rbrack
\left \{ \frac{a}{b} \right \} \quad \left \lbrace \frac{a}{b} \right \rbrace  \left \{ \frac{a}{b} \right \} \quad \left \lbrace \frac{a}{b} \right \rbrace
\left \langle \frac{a}{b} \right \rangle \left \langle \frac{a}{b} \right \rangle
\left \lfloor \frac{a}{b} \right \rfloor \left \lceil \frac{c}{d} \right \rceil \left \lfloor \frac{a}{b} \right \rfloor \left \lceil \frac{c}{d} \right \rceil
\left / \frac{a}{b} \right \backslash \left / \frac{a}{b} \right \backslash
\left \uparrow \frac{a}{b} \right \downarrow \quad \left \Uparrow \frac{a}{b} \right \Downarrow \quad \left \updownarrow \frac{a}{b} \right \Updownarrow \left \uparrow \frac{a}{b} \right \downarrow \quad \left \Uparrow \frac{a}{b} \right \Downarrow \quad \left \updownarrow \frac{a}{b} \right \Updownarrow
Delimiter
\left . \frac{A}{B} \right \} \to X \left . \frac{A}{B} \right \} \to X
\big( \Big( \bigg( \Bigg( ... \Bigg] \bigg] \Big] \big] \big( \Big( \bigg( \Bigg( ... \Bigg] \bigg] \Big] \big]
\big\{ \Big\{ \bigg\{ \Bigg\{ ... \Bigg\rangle \bigg\rangle \Big\rangle \big\rangle \big\{ \Big\{ \bigg\{ \Bigg\{ ... \Bigg\rangle \bigg\rangle \Big\rangle \big\rangle
\big / \Big / \bigg / \Bigg / ... \Bigg\backslash \bigg\backslash \Big\backslash \big\backslash \big / \Big / \bigg / \Bigg / ... \Bigg\backslash \bigg\backslash \Big\backslash \big\backslash

How do I space between equations?

Use the following guide to help you space:

Feature Code Result
quad space a \quad b a \quad b
double quad space a \qquad b a \qquad b
small negative space a\!b a\!b

I can't see the equation image, what's up?

Make sure your web browser (Internet Explorer, Safari, Firefox, etc.) is upgraded to the most current version. In order to do so, I recommend going to your browsers website:

Microsoft Internet Explorer
Apple - Safari
Mozilla Firefox
Opera


  1. Andrew Brown saidFri, 14 Mar 2008 22:08:29 -0000 ( Link )

    That looks like something I’ll be using right away. Thanks for the cheatsheet

    Actions
    Vote
    Current Rating
    0
    Rate Up
    Rate Down
    No Votes

    Post Comments

  2. Andrew Brown saidTue, 10 Jun 2008 17:26:27 -0000 ( Link )

    How do you place equations inside of a sqaure root.

    eg.

    
                          d = \sqrt{ ((x2 - x1) + (y2 - y1)) }
    Actions
    Vote
    Current Rating
    0
    Rate Up
    Rate Down
    No Votes

    Post Comments

  3. sunita_negi saidMon, 28 Jul 2008 05:46:53 -0000 ( Link )

    I have written following syntax in lesson page Zn^{+2} NH_4OH\rightarrow [Zn(NH_3)_4]^{+2} but its not working in the lesson page. The same syntax works very well when m making test. Pls help
    Actions
    Vote
    Current Rating
    0
    Rate Up
    Rate Down
    No Votes

    Post Comments

  4. reddy saidWed, 10 Sep 2008 06:56:10 -0000 ( Link )

    how can i type a matrix of any order?

    Actions
    Vote
    Current Rating
    0
    Rate Up
    Rate Down
    No Votes

    Post Comments

  5. lechuck saidThu, 11 Sep 2008 21:13:06 -0000 ( Link )

    In order to do a matrix properly, it may take a bit more work as it’s pretty complicated. You have have to combine Tables and Equations… you can learn how to do tables in the Textile Lesson.

    Actions
    Vote
    Current Rating
    0
    Rate Up
    Rate Down
    No Votes

    Post Comments

  6. lechuck saidThu, 11 Sep 2008 21:16:16 -0000 ( Link )

    Actually, you know what reddy, I was wrong, you can do matrix.

    \begin{bmatrix} 0 & \cdots & 0 \\ \vdots & \ddots & \vdots \\ 0 & \cdots & 0 \end{bmatrix}

    This can get pretty complicated, so give me a day and I will add them to the lesson.

    Actions
    Vote
    Current Rating
    0
    Rate Up
    Rate Down
    No Votes

    Post Comments

  7. mahesh25 saidMon, 06 Oct 2008 10:11:15 -0000 ( Link )

    how can i strike a letter

    Actions
    Vote
    Current Rating
    0
    Rate Up
    Rate Down
    No Votes

    Post Comments

  8. chandra_avinash saidMon, 06 Oct 2008 11:28:18 -0000 ( Link )

    Hi!

    You can strike through by adding ”-” before and after text;

    If you type in – [text] -, the output text will be struck through.

    To find out more stuff that you can do with text – refer to this lesson!

    Actions
    Vote
    Current Rating
    1
    Rate Up
    Rate Down
    1 Total Vote

    Post Comments

  9. wingsiu saidSat, 29 Nov 2008 01:15:37 -0000 ( Link )

    testing \sqrt{1+\frac{x^2}{y}}=\widehat{ABC}
    Actions
    Vote
    Current Rating
    1
    Rate Up
    Rate Down
    1 Total Vote

    Post Comments

  10. ashokle4 saidMon, 22 Dec 2008 16:38:36 -0000 ( Link )

    thanks for the equation editor if it is as microsoft windows equation editor like a small editing bar on the lesson editing page it is going to be very easy and effective to use

    Actions
    Vote
    Current Rating
    0
    Rate Up
    Rate Down
    No Votes

    Post Comments

  11. sudhakarle5 saidTue, 23 Dec 2008 17:38:14 -0000 ( Link )

    how can i place the images in the lesson when the format is TEXTILE format ?

    Actions
    Vote
    Current Rating
    0
    Rate Up
    Rate Down
    No Votes

    Post Comments

  12. ashokle4 saidMon, 05 Jan 2009 17:52:34 -0000 ( Link )

    plz can any one tell me the procedure of inserting matrices of 3×3 or 4×4 size by using equation editor plz….........

    Actions
    Vote
    Current Rating
    0
    Rate Up
    Rate Down
    No Votes

    Post Comments

  13. nickizkool saidMon, 04 May 2009 15:36:48 -0000 ( Link )

    testing A \bigcup B

    Actions
    Vote
    Current Rating
    1
    Rate Up
    Rate Down
    1 Total Vote

    Post Comments

  14. nickizkool saidMon, 04 May 2009 15:37:38 -0000 ( Link )

    testing \cap \bigcap \cup \bigcup \biguplus \setminus \smallsetminus

    Actions
    Vote
    Current Rating
    1
    Rate Up
    Rate Down
    1 Total Vote

    Post Comments

  15. nickizkool saidMon, 04 May 2009 15:37:58 -0000 ( Link )

    its not working

    Actions
    Vote
    Current Rating
    1
    Rate Up
    Rate Down
    1 Total Vote

    Post Comments

  16. nickizkool saidTue, 05 May 2009 05:58:50 -0000 ( Link )

    i got my mistake….......  (\frac {2}{3} )^6
    Actions
    Vote
    Current Rating
    1
    Rate Up
    Rate Down
    1 Total Vote

    Post Comments

  17. nickizkool saidTue, 05 May 2009 06:36:42 -0000 ( Link )

    testing…  \prod r^2  h
    Actions
    Vote
    Current Rating
    1
    Rate Up
    Rate Down
    1 Total Vote

    Post Comments

  18. nickizkool saidFri, 08 May 2009 07:25:13 -0000 ( Link )

    testing..  AM >=GM
    Actions
    Vote
    Current Rating
    0
    Rate Up
    Rate Down
    No Votes

    Post Comments

Your Comment
Textile is Enabled (View Reference)