Skip to main content

read_int_command

Function read_int_command 

Source
pub fn read_int_command<ET: EngineTypes>(
    engine: &mut EngineReferences<'_, ET>,
    is_negative: bool,
    cmd: TeXCommand<ET>,
    token: ET::Token,
) -> TeXResult<ET::Int, ET>
Expand description

reads an integer from some TeXCommand that should correspond to an integer value (e.g. \count or \lastpenalty).