2.2.8 Bar_engraver

Create barlines. This engraver is controlled through the whichBar property. If it has no bar line to create, it will forbid a linebreak at this point. This engraver is required to trigger the creation of clefs at the start of systems.

Properties (read)

measureBarType (string)

Value for whichBar at a measure boundary.

whichBar (string)

The current bar line type, or '() if there is no bar line. Setting this explicitly in user code is deprecated. Use \bar or related commands to set it.

Properties (write)

forbidBreak (boolean)

If set to #t, prevent a line break at this point.

This engraver creates the following layout object(s): BarLine.

Bar_engraver is part of the following context(s) in \layout: DrumStaff, Dynamics, GregorianTranscriptionStaff, InternalGregorianStaff, KievanStaff, MensuralStaff, PetrucciStaff, RhythmicStaff, Staff, TabStaff and VaticanaStaff.


Internals Reference v2.23.6 (development-branch).