Skip to main content

register_simple_expandable

Function register_simple_expandable 

Source
pub fn register_simple_expandable<E: TeXEngine>(
    engine: &mut E,
    name: &'static str,
    f: fn(&mut EngineReferences<'_, E::Types>, <E::Types as EngineTypes>::Token) -> TeXResult<(), E::Types>,
)
Expand description

Creates a new simple expandable primitive (which does not produce new tokens) and registers it with the engine.