MathLine.number is the text ("3"); this turns it
into the material set at the right-hand margin — LaTeX's \@eqnnum, which
is {\normalfont\normalcolor (\theequation)}, so the parentheses live here
and deliberately not in formatEquationNumber (doc/counters.ts says why).
measure is the text width the number is right-aligned against.
MathLine.numberis the text ("3"); this turns it into the material set at the right-hand margin — LaTeX's\@eqnnum, which is{\normalfont\normalcolor (\theequation)}, so the parentheses live here and deliberately not informatEquationNumber(doc/counters.tssays why).measureis the text width the number is right-aligned against.