mt-core 0.2.1

Equation model: rows, characters and templates in the shape the editor and renderers share.
Documentation
//! Model layer for the equation editor: the tree that parsers build, the editor mutates and the
//! renderers draw.
//!
//! ```
//! use mt_core::{Math, Node, Path};
//!
//! let mut equation = Math::new(Node::row([Node::variable('a')]));
//! equation.body.insert_at(&Path::root(), Node::variable('b'));
//! assert_eq!(equation.body.slot_count(), 2);
//! ```
#![forbid(unsafe_code)]

pub mod ast;
pub mod faces;

pub use ast::{
    Accent, AccentKind, BigOp, Char, Class, Delim, Fence, Font, Frac, FracKind, Limits, Math,
    MathStyle, Matrix, MatrixKind, Node, Path, Row, Scripts, Side, Space, Sqrt, Styled, TextRun,
};
pub use faces::{
    Convention, class_of_char, class_of_char_with, extra_letter, is_cjk, is_extra_face,
    is_large_op_with, is_symbol_face,
};