LatexEditor

All Components

Source Mode (Default)

Type LaTeX in the textarea. The preview updates in real-time via KaTeX rendering.

Chemistry Mode

Use \ce{} commands from the mhchem package for chemical equations.

Source-Only (No Toolbar/Palette)

Minimal configuration with just the source textarea and preview.

Read-Only Mode

Expression is displayed but cannot be edited.

API Examples

Interact with the editor programmatically.