The Instructure Community will enter a read-only state on November 22, 2025 as we prepare to migrate to our new Community platform in early December. Read our blog post for more info about this change.
In the Canvas Equation Editor, available in the Rich Content Editor you can optionally use LaTeX code to enter chemical formulas and chemical equations. This document provides tips for entering chemical formula, chemical equations, and scientific notation using LaTeX.
You can learn more about using the Equation Editor.
Notes:
|
Formula |
LaTeX Code |
|
C_6H_6 |
|
\text{C}_6\text{H}_6 |
|
SO_4^{2-} |
|
\text{SO}_4^{2-} |
|
Al_3(SO_4)_2 |
|
\text{Al}_3(\text{SO}_4)_2 |
|
Scientific Notation |
LaTeX Code |
|
5.10\times10^{-3}\space\text{mol} |
|
6.02\cdot10^{23}\space\text{atoms} |
To write chemical equations, you’ll need to use a variety of reaction arrows. Arrows are available on the Equation Editor toolbar, but you can also enter them via LaTeX. Here is a short list of arrows and their LaTeX codes:
|
Arrow |
LaTeX Code |
|
\longrightarrow |
|
\longleftarrow |
|
\xrightarrow{text} |
|
\xleftarrow{text} |
|
\leftrightharpoons |
|
\rightleftharpoons |
|
\rightleftarrows |
|
\leftrightarrows |
Using LaTeX, you can enter a variety of equations. You may wish to use \space to provide space between quantities and chemical formulas. If you want to remove the italicized elements, it is usually easier to write the formula first, and then go through and insert \text{ } around all the elements in the formula.
|
Scientific Notation |
LaTeX Code |
|
CH_4+2O_2\longrightarrow CO_2+2H_2O |
|
\text{CH}_4+2\text{O}_2\longrightarrow \text{CO}_2+2\text{H}_2\text{O} |
|
2 H_2O_2\space(aq)\xrightarrow{Pt} 2 H_2O\space(l)+O_2\space(g) |
|
2\space\text{H}_2\text{O}_2\space(aq) \xrightarrow{\text{Pt}} 2\space\text{H}_2\text{O}\space(l)+ \text{O}_2\space(g) |
Last update: 2024-04-22
You can access this resource from the following Canvas Guide:
Note: You can only embed guides in Canvas courses. Embedding on other sites is not supported.
Community helpTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign inTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign in