Macro Reference

LaTeX Block Equations (Display Math)

LaTeX Block Equations renders display math (centered equations).

Best for

  • Complex formulas
  • Multi-line aligned equations
  • Matrices and cases
  • Technical specs and analytics docs

Key input rule

Enter raw LaTeX only.


LaTeX Block Editor Guide

Editor layout

  • Source (left): raw LaTeX
  • Preview (right): rendered display equation

What to type (examples)

Good:

  • \\frac{a}{b}
  • \\int_0^1 x\\,dx
  • \\begin{aligned} ... \\end{aligned}

Saving

Click Save/Publish to render on the page.

Quick checklist for successful rendering

  • Check braces {} are balanced
  • Ensure every \\begin{...} has a matching \\end{...}
  • Test simple → then add complexity

Formatting & Best Practices

Prefer aligned for multi-step math

\begin{aligned}
f(x) &= x^2 + 3x + 2 \\
f'(x) &= 2x + 3
\end{aligned}

Use spacing for readability

\int_0^1 x \, dx

Label expressions using \text{...}

\begin{aligned}
\text{Precision} &= \frac{TP}{TP+FP} \\
\text{Recall} &= \frac{TP}{TP+FN}
\end{aligned}

Keep long derivations readable

  • Split across multiple lines
  • Use multiple macros if the derivation becomes too dense
  • Add a short caption above the macro explaining what the equation represents

Instead of a dropdown, the editor includes a Formula Examples gallery - category tabs (for example Basic, Algebra, Calculus, Linear Algebra, Statistics, Physics, Chemistry, Trigonometry, Number Theory, Advanced, Sets & Logic) with paginated, ready-to-insert formulas. Click a category, browse pages of examples, and click one to load it into the Source panel.

Equation History

The editor keeps a history of equations you've entered in that macro, up to 50 entries:

  • Reload a past equation back into the Source panel
  • Delete a single history entry
  • Clear the entire history

History is saved with the macro, not shared across macros or pages.


Viewing a Published Equation

The published page shows only the rendered equation - there are no hover controls, edit icon, copy button, or comment/reaction controls on the equation itself. To change it, open the page in edit mode and click the equation to reopen the editor.