#### Bar_number_engraver

A bar number is created whenever measurePosition is zero. It is put on top of all staves, and appears only at left side of the staff. The staves are taken from `stavesFound`, which is maintained by `Staff_collecting_engraver`.

Properties (read)

`barNumberVisibility` (procedure)
  Procedure that takes an int and returns whether the corresponding bar number should be printed
`stavesFound` (list of grobs)
  list of all staff-symbols found.
`currentBarNumber` (integer)
  Contains the current barnumber. This property is incremented at every bar line.

This engraver creates the following layout objects: BarNumber.

`Bar_number_engraver` is part of contexts: Score

Read comments on this page, or add one. This page is for LilyPond-2.2.5 (stable-branch).