Skip to main content

note_raw_refstep

Function note_raw_refstep 

Source
pub fn note_raw_refstep(counter: &str, props: &SymHashMap<Stored>)
Expand description

Records the step a raw \refstepcounter made on counter (its props from label_stepped_counter), whose number LaTeX’s \label takes from \@currentlabel (latex.ltx:14963-14967), for the labels made after it (current_raw_refstep). Local, as LaTeX’s \@currentlabel is (\protected@edef): a box’s step stays in the box. Any other step forgets it (label_stepped_counter). Witnesses: 2506.01072 (\newtcbtheorem), 2505.20088 (\newtcolorbox[auto counter]), 2402.06608 ([blend into=figures]), 2609.20563 (\newtcblisting).