#### BarLine

BarLine objects are created by: Bar_engraver

Standard settings:

`break-align-symbol` (symbol):
  `'staff-bar`

  This key is used for aligning and spacing breakable items.

`glyph` (string):
  `|`

  a string determining what (style) of glyph is typeset. Valid choices depend on the function that is reading this property.

`break-glyph-function` (procedure):
  `default-break-barline`

  This function determines the appearance of a bar line at the line break. It takes a glyph and break-direction and returns the glyph at a line break.

`bar-size-procedure` (procedure):
  `Bar_line::get_staff_bar_size`

  Procedure that computes the size of a bar line.

`print-function` (procedure):
  `Bar_line::print`

  Function taking grob as argument, returning a `Stencil` object.

`break-visibility` (procedure):
  `all-visible`

  A function that takes the break direction and returns a cons of booleans containing (transparent . empty). The following variables are predefined: `all-visible`, `begin-of-line-visible`, `end-of-line-visible`, `begin-of-line-invisible`, `end-of-line-invisible`, `all-invisible`.

`breakable` (boolean):
  `#t`

  Can this object appear at a line break, like clefs and bar lines?

`before-line-breaking-callback` (procedure):
  `Bar_line::before_line_breaking`

  This procedure is called before line breaking, but after splitting breakable items at potential line breaks.

`space-alist` (list):
  `'((time-signature extra-space . 0.75) (custos minimum-space . 2.0) (clef minimum-space . 1.0) (key-signature extra-space . 1.0) (first-note fixed-space . 1.3) (next-note semi-fixed-space . 1.3) (right-edge extra-space . 0.0))`

  A table that specifies distances between prefatory items, like clef and time-signature. The format is an alist of spacing tuples: `(`break-align-symbol type`.` distance`)`, where type can be the symbols `minimum-space` or `extra-space`.

`kern` (dimension, in staff space):
  `3.0`

  Amount of extra white space to add. For bar line, this is the amount of space after a thick line.

`thin-kern` (number):
  `3.0`

  The space after a hair-line in a bar line.

`hair-thickness` (number):
  `1.6`

  Thickness of the thin line in a bar line.

`thick-thickness` (number):
  `6.0`

  Bar line thickness, measured in `linethickness`.

This object supports the following interfaces: font-interface, break-aligned-interface, item-interface, bar-line-interface and grob-interface

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