New in version 2.0.
Label notes in expr with note indices:
abjad> staff = Staff("c'8 d'8 r8 r8 g'8 a'8 r8 c''8")
abjad> notetools.label_notes_in_expr_with_note_indices(staff)
abjad> f(staff)
\new Staff {
c'8 _ \markup { \small 0 }
d'8 _ \markup { \small 1 }
r8
r8
g'8 _ \markup { \small 2 }
a'8 _ \markup { \small 3 }
r8
c''8 _ \markup { \small 4 }
}
Return none.