Jump To Content

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

Andrew Brown
  • Authority 533
Post Body
Andrew Brown said:

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

  • Quote
  • Posted 8 months ago.
Andrew Brown
  • Authority 533
Post Body
Andrew Brown said:

How do you place equations inside of a sqaure root.

eg.


                        d = \sqrt{ ((x2 - x1) + (y2 - y1)) }
  • Quote
  • Posted 5 months ago.
sunita_negi
  • Authority 200
Post Body
sunita_negi said:
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
  • Quote
  • Posted 4 months ago.
lechuck
  • Authority 545
Post Body
lechuck said in response to:
sunita_negi
sunita_negi’s post:
Citation Body
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

Hi Sunita,

You may be using the Rich Text Editor which does not allow equations.

You must switch from the Rich Text Editor to the Textile Editor and create a new lesson. Your old lessons will not switch. You can switch your editor in your personal Account settings. There is also a lesson on this here.

  • Quote
  • Posted 4 months ago.
reddy
  • Authority 209
Post Body
reddy said:

how can i type a matrix of any order?

  • Quote
  • Posted 2 months ago.
lechuck
  • Authority 545
Post Body
lechuck said:

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.

  • Quote
  • Posted 2 months ago.
lechuck
  • Authority 545
Post Body
lechuck said:

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.

  • Quote
  • Posted 2 months ago.
mahesh25
  • Authority 153
Post Body
mahesh25 said:

how can i strike a letter

  • Quote
  • Posted about 1 month ago.
chandra_avinash
  • Authority 515
Post Body
chandra_avinash said:

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!

  • Quote
  • Posted about 1 month ago.
wingsiu
  • Authority 0
Post Body
wingsiu said:
testing \sqrt{1+\frac{x^2}{y}}=\widehat{ABC}
  • Quote
  • Posted 3 days ago.
  • Your comment will be modifiable for 10 minutes after posted.

Page Author

Avatar
chandra_avinash
Name
chandra_avinash

From Here You Can…

Information

Most Recent Related Content

Published In…