Skip to main content

ref_step_counter

Function ref_step_counter 

Source
pub fn ref_step_counter(
    ctype: &str,
    noreset: bool,
) -> Result<SymHashMap<Stored>>
Expand description

Analog of \refstepcounter, steps the counter and returns a hash containing the keys refnum and id.

This makes it suitable for use in a properties option to constructors. The id is generated in parallel with the reference number to assist debugging.