Raw LaTeX Source

Visual Output

Live

How to Use LaTeX Editor Online

Method 1: Raw LaTeX Code

Type LaTeX commands directly in the left panel. This method gives you full control over the mathematical expressions.

Examples:
  • \frac{a}{b} - fractions
  • \int_0^\infty e^{-x^2} dx - integrals
  • \sum_{i=1}^n x_i - summations
  • \sqrt{x^2 + y^2} - square roots
⌨️

Method 2: Virtual Keyboard

Use MathLive's virtual keyboard for intuitive math input. Click on the math field to show the keyboard, then:

How to use:
  • Basic operations: Click number/symbol buttons or type on your keyboard
  • Fractions: Type frac then space, or click the fraction button
  • Superscripts / Subscripts: Use ^ and _ keys, or click ↑↓ buttons
  • Greek letters: Click αβγ button to access Greek alphabet
  • Functions: Click f(x) button for trigonometric and other functions
  • Navigation: Use arrow keys or click in the expression to move cursor

Tip: The virtual keyboard adapts based on context - different buttons appear for fractions, integrals, etc.

⌨️

Method 3: Keyboard Shortcuts

MathLive supports powerful keyboard shortcuts for efficient math editing. Here are the most useful ones:

Navigation:
  • - Move cursor
  • Tab / Shift+Tab - Next/previous placeholder
  • Home / End - Start/end of expression
  • Ctrl+← / Ctrl+→ - Word/group navigation
Editing:
  • Space - Move after parent
  • Shift+Space - Move before parent
  • Backspace / Delete - Delete characters
  • Ctrl+Z - Undo (also undoes auto-conversions)
Math Symbols:
  • / - Fraction (÷)
  • ^ - Superscript
  • _ - Subscript
  • Ctrl+2 - Square root (√)
  • Alt+5 - Infinity (∞)
  • Alt+9 - Left parenthesis
  • Alt+0 - Right parenthesis
Inline Shortcuts (type these sequences):
  • pi → π
  • alpha → α
  • beta → β
  • gamma → γ
  • infty → ∞
  • sum → ∑
  • int → ∫
  • sqrt → √
  • sin → sin
  • cos → cos
  • != → ≠
  • <= → ≤
  • >= → ≥
Matrix Operations:
  • Alt+[ - Insert square bracket matrix
  • Alt+Shift+( - Insert braces matrix
  • Shift+Enter - Insert row
  • Ctrl+, - Insert column

Tip: Many more shortcuts are available! Type sequences like "theta", "Delta", "forall", etc. for Greek letters and symbols. Press Ctrl+Z if auto-conversion happens when you don't want it.

Note: Both methods are synchronized - changes in one panel automatically update the other. Use the buttons above to copy your LaTeX code or download the formula as an image or PDF.

Reference: For complete documentation and a full list of supported commands, visit the MathLive Documentation.