Math equations

Camille Ricketts
Mar 15 '19 · 4 min read · 323 views
On any Notion page, you can display beautifully formatted, comprehensible mathematical characters, expressions and equations. Notion uses the ⁍ library to render math equations, which supports a large subset of ⁍ functions.
This feature comes in handy for note taking, technical documentation, homework, or anywhere you need to use fractions and equations.

Add a math equation as a block

  • Click the + that appears to the left when you hover over a new line. Scroll down and choose Math Equation in the dropdown. Alternatively, type /math and press enter.
  • With the new equation block in place, click inside it to type or paste your equation, or use Ctrl/cmd + enter/return.

Arrange math blocks

  • Use drag and drop to move math equations around your page. Hover over the block, then use the ⋮⋮ icon that appears as a handle to drag it.
  • You can also drag and drop your math equations into columns.

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.
  • For example, $$y = mx + b$$ becomes ⁍

With the equation input

  • To open the equation input, use the keyboard shortcut Ctrl/cmd + Shift + E.
  • Type your equation into the input, and press enter.

With the formatting menu

  • Highlight an equation in your paragraph.
  • Click the button in the formatting menu that appears, or use the keyboard shortcut Ctrl/cmd + Shift + 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.

Recognized symbols

Notion supports the full scope of symbols and operations within the ⁍ language. For a full list of supported functions, please visit the links below:
👉
Note: ⁍ spans most but not all mathematical notation supported by ⁍. If your equation isn't rendering correctly in Notion, please visit the links above to see if that function is supported.

FAQs

  • 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?
    Notion uses the KaTeX library to render equations. KaTeX supports a large subset of LaTeX, documented on their list of Supported Functions and alphabetized in this Support Table. To request support for new functions or environments, you can open an issue on the KaTeX GitHub project.
  • 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 align environment because LaTeX doesn't support align in math mode. The aligned environment 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 as a "hack" for superscript and subscript, but it does mean that the text will be an equation, in "equation font."
    • Here's an example of ⁍ text.
      \text{super}^\text{script}
      
    • Here's an example of ⁍ text.
      \text{sub}_\text{script}
      
    The basic idea is to use ^ for superscript and _ for subscript. By default, text will appear in italics, without any spaces:
    The solution is to wrap each piece of text in \text{...}, which tells ⁍ to process the contents of the curly braces in text mode, not math mode.
  • 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 \\ce and \\pu chemical 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:
    You can also turn a block equation into inline text:

Related guides

Something we didn't cover? Message us in the app by clicking ? at the bottom right on desktop (or in your sidebar on mobile). Or email us at team@makenotion.com ✌️
Updating...

Share on