🧮 LaTeX Math Support
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.
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:
- PDF Export: Equations are rendered as high-quality vector graphics
- Word Export: LaTeX is converted to native Word equations for seamless editing
- HTML Export: Equations are embedded for perfect rendering in all modern browsers
Best Practices
- Use Display Math for Important Equations: Double dollar signs (
$$...$$) center and emphasize equations - Keep Inline Math Short: Complex expressions are easier to read as display math
- Use Proper Spacing: Add
\,for thin space,\:for medium space, or\;for thick space - Test Before Exporting: Preview your equations in the app to ensure they render correctly
- Use Descriptive Variable Names: In text mode, explain what your variables represent
- Forgetting to escape special characters like
_,^,{,}in text - Using single
$for display equations (use$$instead) - Not matching opening and closing delimiters
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