Formulas are typeset, not styled text
LaTeX describes structure through commands that begin with a backslash. Fractions use \frac, roots \sqrt, sub and superscripts the underscore and caret, Greek letters named commands, matrices the array or matrix environments, with single dollars for inline and double for display. Input, a template dropdown, size, colour, line height, dark background and border all re-render live.
Steps
- Type the formula, such as the quadratic root with \frac and \sqrt.
- Insert a template from the dropdown — quadratic root, Euler identity, Gaussian integral, Bayes, Taylor expansion.
- Adjust size, colour and leading; toggle dark background and border.
- Render, then export PNG or SVG, or copy the source.
- Export HTML when embedding into a page.
Frequent mistakes
A swallowed backslash: many editors treat one as an escape, so paste doubles or use raw strings. Superscripts bind to a single character, so x^23 means x squared followed by 3 — brace it. Spaces in formulas are separators, so visual gaps need \quad or a thin space. Brackets around fractions must use \left and \right to scale. And the percent sign starts a comment, so output requires \%.
PNG or SVG
SVG scales without loss and suits web and print layout, though glyphs depend on the rendering environment, so exporters usually convert type to paths. PNG travels everywhere including chat clients and vector-hostile platforms, but needs an explicit resolution — larger type demands more pixels or it blurs. A formula rendered on a dark background and placed on white paper needs its transparency checked first.
Common problems
Silent render failures usually mean an unmatched bracket or an unclosed environment, so check \left with \right and \begin with \end. Multi-line alignment needs aligned or cases with ampersands and double backslashes. Underscores mean emphasis in text mode and subscripts only in math mode. Raising size without raising leading pushes scripts into neighbouring lines. And Word's equation editor is only partly LaTeX-compatible, so complex matrices need hand work.