Skip to main content

leave_display_for_parbox

Function leave_display_for_parbox 

Source
pub fn leave_display_for_parbox()
Expand description

A paragraph box ({minipage}, \parbox, the kernel’s \@arrayparboxrestore) starts: amsmath’s \@arrayparboxrestore restores \label to the kernel’s (amsmath.sty:1237-1238 \let\label\ltx@label), so a label in the box is made at once and names the step current in it, not the display’s held step (review probe rev78g2 nest.tex z5, \begin{gather*} a=b \refstepcounter{foo}\text{\begin{minipage}{2cm}\label{z5}x\end{minipage}} \end{gather*}: pdflatex 42; repro cross-references/amsmath_row_label_names_the_display_step.tex). Local to the box. Outside an amsmath display nothing.