| [ << Backend ] | [Top][Contents][Index] | [ Scheme functions >> ] |
| [ < BarLine ] | [ Up : All layout objects ] | [ BassFigure > ] |
3.1.13 BarNumber
BarNumber objects are created by: Bar_number_engraver.
Standard settings:
after-line-breaking(boolean):
ly:side-position-interface::move-to-extremal-staffDummy property, used to trigger callback for
after-line-breaking.break-align-symbols(list): '(left-edge staff-bar)A list of break-align symbols that determines which breakable items to align this to. If the grob selected by the first symbol in the list is invisible due to
break-visibility, we will align to the next grob (and so on). Choices are listed in break-alignment-interface.break-visibility(vector): #(#f #f #t)A vector of 3 booleans,
#(end-of-line unbroken begin-of-line).#tmeans visible,#fmeans killed.direction(direction):
1If
side-axisis0(orX), then this property determines whether the object is placedLEFT,CENTERorRIGHTwith respect to the other object. Otherwise, it determines whether the object is placedUP,CENTERorDOWN. Numerical values may also be used:UP=1,DOWN=-1,LEFT=-1,RIGHT=1,CENTER=0.extra-spacing-width(pair of numbers): '(+inf.0 . -inf.0)In the horizontal spacing problem, we pad each item by this amount (by adding the ‘car’ on the left side of the item and adding the ‘cdr’ on the right side of the item). In order to make a grob take up no horizontal space at all, set this to
(+inf.0 . -inf.0).font-family(symbol):
'romanThe font family is the broadest category for selecting text fonts. Options include:
sans,roman.font-size(number):
-2The font size, compared to the ‘normal’ size.
0is style-sheet’s normal size,-1is smaller,+1is bigger. Each step of 1 is approximately 12% larger; 6 steps are exactly a factor 2 larger. If the context propertyfontSizeis set, its value is added to this before the glyph is printed. Fractional values are allowed.horizon-padding(number):
0.05The amount to pad the axis along which a
Skylineis built for theside-position-interface.non-musical(boolean):
#tTrue if the grob belongs to a
NonMusicalPaperColumn.outside-staff-priority(number):
100If set, the grob is positioned outside the staff in such a way as to avoid all collisions. In case of a potential collision, the grob with the smaller
outside-staff-priorityis closer to the staff.padding(dimension, in staff space):
1.0Add this much extra space between objects that are next to each other.
self-alignment-X(number):
1Specify alignment of an object. The value
-1means left aligned,0centered, and1right-aligned in X direction. Other numerical values may also be specified - the unit is half the object width.side-axis(number):
1If the value is
X(or equivalently0), the object is placed horizontally next to the other object. If the value isYor1, it is placed vertically.stencil(stencil):
ly:text-interface::printThe symbol to print.
X-offset(number):
self-alignment-interface::self-aligned-on-breakableThe horizontal amount that this object is moved relative to its X-parent.
Y-extent(pair of numbers):
#<unpure-pure-container #<primitive-procedure ly:grob::stencil-height> >Extent (size) in the Y direction, measured in staff-space units, relative to object’s reference point.
Y-offset(number):
#<unpure-pure-container #<primitive-procedure ly:side-position-interface::y-aligned-side> #<primitive-procedure ly:side-position-interface::pure-y-aligned-side> >The vertical amount that this object is moved relative to its Y-parent.
This object supports the following interface(s): break-alignable-interface, font-interface, grob-interface, item-interface, outside-staff-interface, self-alignment-interface, side-position-interface and text-interface.
| [ << Backend ] | [Top][Contents][Index] | [ Scheme functions >> ] |
| [ < BarLine ] | [ Up : All layout objects ] | [ BassFigure > ] |