LaTeX Maths Guide
LaTeX is the de facto standard for the communication and publication of scientific documents. xyzEditor uses the blazingly fast KaTeX engine to render your mathematical expressions perfectly in real-time.Feel free to edit the code blocks below to see the equations update live!
1. Inline vs. Block Maths
Mathematical expressions can be rendered within a paragraph or displayed prominently on their own line.
Inline Maths: Use single dollar signs to keep equations flowing with your text. For example, Einstein's famous equation is .
Block Maths: Use double dollar signs to center an equation on its own line:
2. Greek Letters
Greek letters are essential in mathematics and physics. Use the backslash \\ followed by the name of the letter. Capitalize the first letter for the uppercase version.
Lowercase:
Uppercase:
Variants:
3. Calculus, Operators & Functions
LaTeX provides extensive support for complex calculus and summation notation.
Fractions and Roots:
Summations and Products:
Calculus:
4. Relations & Set Theory
Express relationships between variables and sets.
Inequalities:
Set Theory:
Logic:
5. Arrows
Arrows are frequently used to denote implications, limits, or vectors.
Basic Arrows:
Implications:
Special Vectors & Maps:
6. Matrices & Cases
Use \\begin{...} and \\end{...} environments for structured layouts. & separates columns, and \\\\ separates rows.
Matrices (pmatrix, bmatrix, vmatrix):
Piecewise Functions (cases):
7. Accents & Formatting
Enhance equations with specific text styles, spacing, and accents.
Accents:
Text Styles:
(Blackboard bold)
(Calligraphic)
(Fraktur)
Annotations:
Want to keep this guide offline?
xyzEditor excels at local-first, privacy-focused PDF generation. You can instantly save this entire guide as a beautifully formatted PDF document.