Next: , Previous: Custos_engraver, Up: Engravers


Default_bar_line_engraver

This engraver determines what kind of automatic bar lines should be produced, and sets whichBar accordingly. It should be at the same level as Timing_translator.

Properties (read)

automaticBars (boolean)
If set to true then bar lines will not be printed automatically; they must be explicitly created with \bar command. Unlike the \cadenza keyword, measures are still counted. Bar generation will resume according to that count if this property is unset.
barAlways (boolean)
If set to true a bar line is drawn after each note.
defaultBarType (string)
Sets the default type of bar line. See whichBar for information on available bar types.

This variable is read by Timing_translator at Score level.

measureLength (moment)
Length of one measure in the current time signature.
whichBar (string)
This property is read to determine what type of bar line to create.

Example:

          \set Staff.whichBar = "|:"
     

This will create a start-repeat bar in this staff only. Valid values are described in bar-line-interface.

measurePosition (moment)
How much of the current measure have we had. This can be set manually to create incomplete measures.
Properties (write)
automaticBars (boolean)
If set to true then bar lines will not be printed automatically; they must be explicitly created with \bar command. Unlike the \cadenza keyword, measures are still counted. Bar generation will resume according to that count if this property is unset.

Default_bar_line_engraver is part of contexts: Score


Next: , Previous: Custos_engraver, Up: Engravers

This page is for LilyPond-2.10.33 (stable-branch).

Report errors to http://post.gmane.org/post.php?group=gmane.comp.gnu.lilypond.bugs.