| [ << Backend ] | [Top][Contents][Index] | [ Scheme functions >> ] |
[ < CenteredBarNumberLineSpanner ] | [ Up: All layout objects ] | [ ChordSquare > ] |
3.1.28 ChordName
A stand-alone chord name. For chord
names in chord grids, see GridChordName.
ChordName objects are created by the following engraver(s): Chord_name_engraver.
Standard settings:
after-line-breaking(boolean):
ly:chord-name::after-line-breakingDummy property, used to trigger callback for
after-line-breaking.extra-spacing-height(pair of numbers): '(0.2 . -0.2)In the horizontal spacing problem, we increase the height of each item by this amount (by adding the ‘car’ to the bottom of the item and adding the ‘cdr’ to the top of the item). In order to make a grob infinitely high (to prevent the horizontal spacing problem from placing any other grobs above or below this grob), set this to
(-inf.0 . +inf.0).extra-spacing-width(pair of numbers): '(-0.5 . 0.5)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):
'sansThe font family is the broadest category for selecting text fonts. Options include
serif,sansandtypewriter.font-size(number):
1.5The 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.stencil(stencil):
ly:text-interface::printThe symbol to print.
word-space(dimension, in staff space):
0.0Space to insert between words in texts.
Y-extent(pair of numbers):
#<unpure-pure-container ly:grob::stencil-height >Extent (size) in the Y direction, measured in staff-space units, relative to object’s reference point.
This object supports the following interface(s):
accidental-switch-interface, chord-name-interface, font-interface, grob-interface, item-interface, outside-staff-interface, rhythmic-grob-interface and text-interface.
This object is of class Item (characterized by item-interface).
| [ << Backend ] | [Top][Contents][Index] | [ Scheme functions >> ] |
[ < CenteredBarNumberLineSpanner ] | [ Up: All layout objects ] | [ ChordSquare > ] |