Skip to main content

globalize_raw_refstep

Function globalize_raw_refstep 

Source
pub fn globalize_raw_refstep()
Expand description

The raw step recorded now (note_raw_refstep) stays recorded after the group it was made in: a package that makes \@currentlabel global after its \refstepcounter (algorithm2e.sty:1663 \gdef\@currentlabel{\theAlgoLine}, :1659 with hyperref), so that a \label after the group (\While{c}{\label{x} …}, the line’s number made in the header’s group) still names the step (\lx@refstep@global, algorithm2e_sty.rs). Witness 1602.05866 (algline:mainloop, PDF 8).