#### SpanBar

SpanBar objects are created by: Span_bar_engraver

Standard settings:

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

  This key is used for aligning and spacing breakable items.

`bar-size-procedure` (procedure):
  `Span_bar::get_bar_size`

  Procedure that computes the size of a bar line.

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

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

`X-extent-callback` (procedure):
  `Span_bar::width_callback`

  Procedure that calculates the extent of this object. If this value is set to `#f`, the object is empty in the X direction. The procedure takes a grob and axis argument, and returns a number-pair.

`Y-extent-callback` (procedure):
  `'()`

  see `X-extent-callback`.

`breakable` (boolean):
  `#t`

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

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

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

`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: item-interface, bar-line-interface, font-interface, span-bar-interface and grob-interface

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