Skip to main content

Module formula_editor

Module formula_editor 

Source
Expand description

LaTeX formula editor with live preview.

Provides a split-pane interface with a LaTeX input area and real-time KaTeX rendering. Includes quick-insert buttons for common symbols.

§Components

§Props (FormulaEditor)

  • latex - Current LaTeX source
  • on_change - Callback when source changes
  • on_insert - Optional callback for quick-insert buttons

Re-exports§

pub use FormulaEditor_completions::Component::FormulaEditor;
pub use LatexPreview_completions::Component::LatexPreview;

Structs§

FormulaEditorProps
Properties for the FormulaEditor component.
LatexPreviewProps
Properties for the LatexPreview component.

Functions§

FormulaEditor
Props
LatexPreview
Standalone preview component that just renders LaTeX.