Andrew Brown said:
That looks like something I’ll be using right away. Thanks for the cheatsheet
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:
.
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 | |
| 6 \div 2 = 3 | |
| 12 * 2-10=34 | |
| a ^ 2 + b ^ 2 = c ^ 2 | |
| \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} | |
| \check{a} \bar{a} \ddot{a} \dot{a} | |
| Standard functions | |
| \sin a \cos b \tan c | |
| \sec d \csc e \cot f | |
| \arcsin h \arccos i \arctan j | |
| \sinh k \cosh l \tanh m \coth n | |
| \operatorname{sh}o \operatorname{ch}p \operatorname{th}q | |
| \operatorname{argsh}r \operatorname{argch}s \operatorname{argth}t | |
| \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 | |
| \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 | |
| Derivatives | |
| \nabla \partial x dx \dot x \ddot y | |
| Sets | |
| \forall \exists \empty \emptyset \varnothing | |
| \in \ni \not \in \notin \subset \subseteq \subsetneq \supset \supseteq \supsetneq | |
| \cap \bigcap \cup \bigcup \biguplus \setminus \smallsetminus | |
| \sqsubset \sqsubseteq \sqsupset \sqsupseteq \sqcap \sqcup \bigsqcup | |
| Operators | |
| + \oplus \bigoplus \pm \mp - | |
| \times \otimes \bigotimes \cdot \circ \bullet \bigodot | |
| \star * / \div \frac{1}{2} | |
| Logic | |
| \land \wedge \bigwedge \bar{q} \to p | |
| \lor \vee \bigvee \lnot \neg q \And | |
| Root | |
| \sqrt{2} \sqrt[n]{x} | |
| Relations | |
| \sim \approx \simeq \cong \dot= \overset{\underset{\mathrm{def}}{}}{=} | |
| Geometric | |
| Arrows | |
| \leftarrow \gets \rightarrow \to \not\to \leftrightarrow \longleftarrow \longrightarrow | |
| \mapsto \longmapsto \hookrightarrow \hookleftarrow \nearrow \searrow \swarrow \nwarrow | |
| \uparrow \downarrow \updownarrow \rightharpoonup \rightharpoondown \leftharpoonup \leftharpoondown \upharpoonleft | |
| \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 | |
| \leftrightharpoons \curvearrowleft \circlearrowleft \Lsh \upuparrows \rightrightarrows \rightleftarrows \Rrightarrow \rightarrowtail \looparrowright | |
| \curvearrowright \circlearrowright \Rsh \downdownarrows \multimap \leftrightsquigarrow \rightsquigarrow \nLeftarrow \nleftrightarrow \nRightarrow | |
| \nLeftrightarrow \longleftrightarrow | |
| Special | |
| Unsorted | |
Subscripts, superscripts, integrals
| Super/Subscript | |
| a ^ 2 | |
| a_2 | |
| a{2+2} | |
| a_{i,j} | |
| x_23 | |
| Preceding and/or Additional | |
| \sideset{_1 ^ 2}{_3 ^ 4}\prod_a ^ b | |
| {}_1 ^ 2\!\Omega_3 ^ 4 | |
| Stacking | |
| \overset{\alpha}{\omega} | |
| \underset{\alpha}{\omega} | |
| \overset{\alpha}{\underset{\gamma}{\omega}} | |
| \stackrel{\alpha}{\omega} | |
| Derivative | |
| x ^ \prime, y ^ {\prime\prime} | |
| x\prime, y\prime\prime, f\prime | |
| \dot{x}, \ddot{x} | |
| Underlines, Overlines, Vectors | |
| \hat a \ \bar b \ \vec c | |
| \overrightarrow{a b} \ \overleftarrow{c d} \ \widehat{d e f} | |
| \overline{g h i} \ \underline{j k l} | |
| Arrows | |
| A \xleftarrow{n+\mu-1} B \xrightarrow[T]{n\pm i-1} C | |
| Over/Underbraces | |
| \overbrace{ 1+2+\cdots+100 }^{5050} | |
| \underbrace{ a+b+\cdots+z }_{26} | |
| Sum, Product, Limit | |
| \sum_{k=1}^N k^2 | |
| \textstyle \sum_{k=1}^N k^2 | |
| \prod_{i=1}^N x_i | |
| \textstyle \prod_{i=1}^N x_i | |
| \coprod_{i=1}^N x_i | |
| \textstyle \coprod_{i=1}^N x_i | |
| \lim_{n \to \infty}x_n | |
| \textstyle \lim_{n \to \infty}x_n | |
| Integral, Intersections, Unions | |
| \int_{-N} ^ {N} e ^ x\, dx | |
| \textstyle \int_{-N} ^ {N} e ^ x\, dx | |
| \iint_{D} ^ {W} \, dx\,dy | |
| \iiint_{E} ^ {V} \, dx\,dy\,dz | |
| \iiiint_{F} ^ {U} \, dx\,dy\,dz\,dt | |
| \oint_{C} x ^ 3\, dx + 4y ^ 2\, dy | |
| \bigcap_1 ^ {n} p | |
| \bigcup_1 ^ {k} p | |
Fractions, Coefficients
| Fractions | |
| \frac{2}{4}=0.5 | |
| \tfrac{2}{4} = 0.5 | |
| \dfrac{2}{4} = 0.5 | |
| \cfrac{2}{c + \cfrac{2}{d + \cfrac{2}{4}}} = a | |
| Coefficients | |
| \binom{n}{k} | |
| \tbinom{n}{k} | |
| \dbinom{n}{k} | |
Parenthesizing big expressions, brackets, bars
| Parentheses, Brackets, Braces | |
| \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 \lbrace \frac{a}{b} \right \rbrace | |
| \left \langle \frac{a}{b} \right \rangle | |
| \left \lfloor \frac{a}{b} \right \rfloor \left \lceil \frac{c}{d} \right \rceil | |
| \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 | |
| Delimiter | |
| \left . \frac{A}{B} \right \} \to X | |
| \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\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 | |
| double quad space | a \qquad b | |
| small negative space | 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
That looks like something I’ll be using right away. Thanks for the cheatsheet
but its not working in the lesson page. The same syntax works very well when m making test. Pls help
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.
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.
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!