Macro Reference

LaTeX Inline Equations

LaTeX Inline renders math inside normal text.

Best for

  • Specs and docs where math supports the text
  • Definitions of metrics inside sentences
  • Short formulas and occasional standalone equations

Inline Editor Guide

Editor layout

  • Source (left): normal paragraph text
  • Preview (right): rendered text with math

LaTeX Inline Editor - Source and Preview panels with formula category tabs (Basic, Algebra, Calculus, etc.)

Writing content

Write like this:

  • Normal text: The area is ...
  • Inline math: A=\\pi r^2
  • Block math: L=\\sum (y-\\hat{y})^2

LaTeX Inline Editor showing Calculus tab with Derivative, Chain Rule, and Product Rule formula templates

Saving

Click Save changes to render inline content on the page.

When to choose Block macro instead

Use LaTeX Block when you need:

  • multi-line aligned equations
  • matrices or cases environments
  • longer derivations with multiple steps

Inline Math Rules

Inline math

Use for short formulas within a sentence.

Example:

We define accuracy as Acc=\frac{TP+TN}{TP+TN+FP+FN}.

Best practices

  • Keep inline formulas short