[ << Backend ] | [Top][Contents][Index] | [ Scheme functions >> ] |
[ < CaesuraScript ] | [ Up : All layout objects ] | [ CenteredBarNumberLineSpanner > ] |
3.1.26 CenteredBarNumber
A centered bar number; see also
CenteredBarNumberLineSpanner
. Ordinary bar numbers are
managed with BarNumber
grobs.
CenteredBarNumber
objects are created by: Bar_number_engraver
.
Standard settings:
-
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): 'roman
The font family is the broadest category for selecting text fonts. Options include:
sans
,roman
.-
font-size
(number): 0
The font size, compared to 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. If the context propertyfontSize
is set, its value is added to this before the glyph is printed. Fractional values are allowed.-
self-alignment-X
(number): 0
Specify alignment of an object. The value
-1
means left aligned,0
centered, and1
right-aligned in X direction. Other numerical values may also be specified - the unit is half the object width.-
stencil
(stencil): ly:text-interface::print
The symbol to print.
-
X-offset
(number): centered-spanner-interface::calc-x-offset
The horizontal amount that this object is moved relative to its X-parent.
This object supports the following interface(s):
bar-number-interface
, centered-bar-number-interface
, centered-spanner-interface
, font-interface
, grob-interface
, spanner-interface
and text-interface
.
This object is of class Spanner (characterized by spanner-interface
).
[ << Backend ] | [Top][Contents][Index] | [ Scheme functions >> ] |
[ < CaesuraScript ] | [ Up : All layout objects ] | [ CenteredBarNumberLineSpanner > ] |