🧮 LaTeX Math Support

Write beautiful mathematical equations using LaTeX syntax with fast, high-quality rendering.

MarkStudio Pro includes full support for mathematical notation using LaTeX syntax, rendered beautifully for instant preview. Whether you're writing academic papers, scientific documentation, or technical notes, you can include complex equations that export perfectly to PDF, Word, and HTML.

📹 Watch: LaTeX Math Tutorial

Learn how to write and format mathematical equations in MarkStudio Pro.

Basic Syntax

Inline Math

For math expressions within a paragraph, use single dollar signs:

The quadratic formula is $x = \frac{-b \pm \sqrt{b^2-4ac}}{2a}$ for equations.

Renders as: The quadratic formula is x = (-b ± √(b²-4ac))/(2a) for equations.

Display Math (Block Equations)

For standalone equations on their own line, use double dollar signs:

$$
E = mc^2
$$

Renders as: A centered, larger equation on its own line.

💡 Pro Tip: Use display math for important equations you want to emphasize. They're centered and larger, making them easier to read.

Common LaTeX Math Examples

Fractions

$\frac{numerator}{denominator}$

Example: $\frac{1}{2}$ or $\frac{x^2 + 3x + 2}{x - 1}$

Superscripts and Subscripts

Superscript: $x^2$, $e^{i\pi}$
Subscript: $x_1$, $a_{ij}$
Both: $x_1^2$, $\sum_{i=1}^{n} i$

Greek Letters

Lowercase: $\alpha$, $\beta$, $\gamma$, $\delta$, $\theta$, $\pi$, $\sigma$
Uppercase: $\Gamma$, $\Delta$, $\Theta$, $\Pi$, $\Sigma$, $\Omega$

Square Roots and Radicals

$\sqrt{x}$
$\sqrt[3]{8}$ (cube root)
$\sqrt{x^2 + y^2}$

Summation and Integration

Summation: $\sum_{i=1}^{n} x_i$
Integration: $\int_0^1 f(x) \, dx$
Double integral: $\iint_D f(x,y) \, dx \, dy$

Matrices

$$
\begin{bmatrix}
a & b \\
c & d
\end{bmatrix}
$$

$$
\begin{pmatrix}
1 & 2 & 3 \\
4 & 5 & 6 \\
7 & 8 & 9
\end{pmatrix}
$$

Limits and Derivatives

Limit: $\lim_{x \to \infty} f(x)$
Derivative: $\frac{df}{dx}$ or $f'(x)$
Partial derivative: $\frac{\partial f}{\partial x}$

Common Mathematical Symbols

Symbol LaTeX Code Description
± \pm Plus-minus
× \times Multiplication
÷ \div Division
\neq Not equal
\leq Less than or equal
\geq Greater than or equal
\infty Infinity
\in Element of
\forall For all
\exists There exists

Export Your Math

Mathematical equations export perfectly to PDF, Word, and HTML formats:

✨ Quality Guarantee: Your equations will look identical in the preview, PDF, and Word exports. No loss of formatting or quality!

Best Practices

  1. Use Display Math for Important Equations: Double dollar signs ($$...$$) center and emphasize equations
  2. Keep Inline Math Short: Complex expressions are easier to read as display math
  3. Use Proper Spacing: Add \, for thin space, \: for medium space, or \; for thick space
  4. Test Before Exporting: Preview your equations in the app to ensure they render correctly
  5. Use Descriptive Variable Names: In text mode, explain what your variables represent
⚠️ Common Mistakes:

Advanced Features

Multi-line Equations

$$
\begin{align}
f(x) &= x^2 + 2x + 1 \\
     &= (x + 1)^2
\end{align}
$$

Cases (Piecewise Functions)

$$
f(x) = \begin{cases}
x^2 & \text{if } x \geq 0 \\
-x^2 & \text{if } x < 0
\end{cases}
$$

Accents and Text

Accents: $\hat{x}$, $\bar{x}$, $\tilde{x}$, $\vec{v}$
Text in math: $\text{velocity} = \frac{\text{distance}}{\text{time}}$

Quick Reference

Inline math: $equation$

Display math: $$equation$$

Preview: See live rendering as you type

Export: File → Export to PDF, Word, or HTML

Learn How to Export → ← Back to Docs