Add math equations to Docs with LaTeX

ClickUp renders math you write in LaTeX. Add a formula inside a line of text, or add an equation on its own line. The steps are the same everywhere math renders:

  • Docs
  • Task descriptions
  • Task comments
  • Chat messages
  • Long Text Custom Fields

Docs are available on every ClickUp plan.

Everyone, including guests, can use Docs.

Add a formula inside a line of text

To add a formula inside a line of text:

  1. Type `$ to start the formula.
  2. Type the expression with no space after the dollar sign, such as E=mc^2.
  3. Type $` to close the formula.

The formula renders when you type the closing backtick.

Screenshot of a rendered formula

Inline math also renders in:

  • Docs, including Public Docs
  • task comments and Chat messages
  • task descriptions and Long Text Custom Fields

Add an equation on its own line

An equation on its own line uses a code block set to LaTeX.

To add an equation on its own line:

  1. Where you want the equation, type /.
  2. From the menu, select Code block.
  3. Type the LaTeX source in the code block.
  4. Hover over the code block and click Auto-detect in the block toolbar.
  5. Select LaTeX from the language menu.
  6. In the block toolbar, click Render Math.

Screenshot of the convert to code button

  1. In a task comment or Chat message, send the comment or message.

Rendered equations persist after you reload the Doc. Public Docs render display equations and inline formulas.

Edit a rendered formula or equation

While editing a Doc, click a rendered formula to show its source.

To show the source of a rendered equation in a Doc:

  1. Click the rendered equation to show the block toolbar.
  2. In the block toolbar, click Convert to Code.

Export math from a Doc

Exported PDFs and HTML files display rendered equations with embedded fonts. In Markdown exports, equations on their own line use the latex render fence, and formulas inside a line of text export as $E=mc^2$.

Import math from Markdown

When you import a Markdown file, an equation in a latex render fence comes in as a LaTeX code block. To render it, click Render Math in the block toolbar.