BarNumber - LilyPond program-reference
Description: LilyPond program-reference

Next: BassFigure, Previous: BarLine, Up: All layout objects

#### BarNumber

BarNumber objects are created by: Bar_number_engraver

Standard settings:

`stencil` (unknown):
  `ly:text-interface::print`

  The symbol to print.

`non-musical` (boolean):
  `#t`

  True if the grob belongs in a NonMusicalPaperColumn.

`break-visibility` (vector):
  `#(#f #f #t)`

  A vector of 3 booleans, #(end-of-line unbroken begin-of-line). #t means visible, #f means killed.

`padding` (dimension, in staff space):
  `1.0`

  Add this much extra space between objects that are next to each other.

`direction` (direction):
  `1`

  If side-position is 1 (#X), then this property determines if the object is placed #LEFT, #CENTER or #RIGHT with respect to the other object. Otherwise, it determines if the object is placed #UP #CENTER or #DOWN. Numerical values may also be used. #UP=1, #DOWN=-1, #LEFT=-1, #RIGHT=1, CENTER=0 but also other numerical values are permitted.

`font-family` (symbol):
  `'roman`

  The font family is the broadest category for selecting text fonts. Options include: `sans`, `roman`

`font-size` (number):
  `-2`

  The font size, compared the `normal' size. 0 is style-sheet's normal size, -1 is smaller, +1 is bigger. Each step of 1 is approximately 12% larger, 6 steps are exactly a factor 2 larger. Fractional values are allowed.

`Y-offset` (number):
  `ly:side-position-interface::y-aligned-side`

  The vertical amount that this object is moved relative to its Y-parent

`side-axis` (number):
  `1`

  If the value is #X (or equivalently 1), the object is placed horizontally next to the other object. If the value is #Y or 0, it is placed vertically.

`X-offset` (number):
  `#<simple-closure (#<primitive-generic +> #<simple-closure (#<primitive-procedure ly:break-alignment-align-interface::self-align-callback>) > #<simple-closure (#<primitive-procedure ly:self-alignment-interface::x-aligned-on-self>) >) >`

  The horizontal amount that this object is moved relative to its X-parent

`self-alignment-X` (number):
  `1`

  Specify alignment of an object. The value -1 means left aligned, 0 centered, and 1 right-aligned in X direction. Values in between may also be specified.

`break-align-symbol` (symbol):
  `'left-edge`

  This key is used for aligning and spacing breakable items.

This object supports the following interfaces: text-interface, side-position-interface, self-alignment-interface, item-interface, font-interface, break-alignment-align-interface and grob-interface

Next: BassFigure, Previous: BarLine, Up: All layout objects

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