Notion uses the KaTeX library to render math equations, which supports a large subset of LaTeX functions.
Add a math equation as a block
+that appears to the left when you hover over a new line. Scroll down and choose
Block equationin the dropdown. Alternatively, type
/mathand press enter.
With the new equation block in place, click inside it to type or paste your equation, or use
Add a math equation inline
Just like you can format text in Notion as bold, strikethrough, or
code notation, you can also format your text as a math equation, like this quadratic formula:
There are a few different ways to add math equations inline, and all are keyboard friendly.
With text shortcuts:
Type two dollar signs, followed by your equation. When you close your formula with two more dollar signs, it will turn into an equation.
With the equation input:
To open the equation input, use the keyboard shortcut
Type your equation into the input, and press
With the formatting menu:
Highlight an equation in your paragraph.
√xbutton in the formatting menu that appears, or use the keyboard shortcut
E. Your selected text should turn into an equation.
Edit an inline equation
You can edit an existing equation by clicking on it. This will open the equation input, and any changes you make to the equation will reflect live on your page.
You can also use the arrow keys on your keyboard to navigate to an equation. The equation input will open when your cursor passes over the equation, and the equation input will close if you continue pressing the arrow key in the same direction.
Notion supports the full scope of symbols and operations within the \KaTeX language. For a full list of supported functions, please visit the links below:
Note: KaTeX spans most, but not all mathematical notation supported by LaTeX. If your equation isn't rendering correctly in Notion, please visit the links above to see if that function is supported.
- I don't know LaTeX but want to use Notion's equations. How can I get started?
It's easy to get started using LaTeX for homework, class notes, or lab reports. Basic arithmetic and variable names are valid in LaTeX already.
If you just need to look up specific symbols, Detexify is a great resource that allows you to draw the symbol and look up the corresponding LaTeX code.
To learn more powerful LaTeX, Overleaf documentation is a great place to learn the basics:
- Why can't I render a specific equation? What formulas/libraries do you support? Can you add support for a formula or library I want to use?
- I'm trying to use the align environment and it's not working!
From the Common Issues page of the KaTeX documentation:
"KaTeX does not support the
alignenvironment because LaTeX doesn't support
alignin math mode. The
alignedenvironment offers the same functionality but in math mode, so use that instead."
- Can I use inline equations for superscript and subscript?
It's possible to use inline equations for superscript and subscript, but it does mean that the text will be an equation, in "equation font."
^to designate superscript, for example:
_to designate subscript, for example:
If there are multiple characters that you want to include in superscript or subscript, wrap them in curly brackets. For example:
- What happens when I copy/paste inline LaTeX?
It will give you the source code.
- How do I use Notion for chemistry?
Notion supports the
\\puchemical equation macros from the mhchem extension. These shortcuts allow you to typeset beautiful chemical and mathematical equations quickly and easily.
- How do I convert between inline and block equations?
If you have a block containing an inline equation, you can use the "Turn into" menu to make it a block equation.