| [ << Backend ] | [Top][Contents][Index] | [ Scheme functions >> ] |
[ < NoteColumn ] | [ Up: All layout objects ] | [ NoteName > ] |
3.1.95 NoteHead
A note head. See also
TabNoteHead.
NoteHead objects are created by the following engraver(s): Completion_heads_engraver, Drum_notes_engraver and Note_heads_engraver.
Standard settings:
bend-me(boolean):
'()Decide whether this grob is bent.
duration-log(integer):
note-head::calc-duration-logThe 2-log of the note head duration, i.e.,
0= whole note,1= half note, etc.extra-spacing-height(pair of numbers):
ly:note-head::include-ledger-line-heightIn 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).glyph-name(string):
note-head::calc-glyph-nameThe glyph name within the font.
In the context of (span) bar lines or clefs, glyph-name represents a processed form of
glyph, where decisions about line breaking, etc., are already taken.parenthesis-friends(list): '(accidental-grob dot)A list of Grob types, as symbols. When parentheses enclose a Grob that has ’parenthesis-friends, the parentheses widen to include any child Grobs with type among ’parenthesis-friends.
stem-attachment(pair of numbers):
ly:note-head::calc-stem-attachmentAn
(x . y)pair where the stem attaches to the notehead.stencil(stencil):
ly:note-head::printThe symbol to print.
X-offset(number):
ly:note-head::stem-x-shiftThe horizontal amount that this object is moved relative to its X-parent.
Note that many objects have special positioning considerations, which cause any setting of
X-offsetto be ignored or modified, even though the object supports theself-alignment-interface.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.
Y-offset(number):
#<unpure-pure-container ly:staff-symbol-referencer::callback >The vertical amount that this object is moved relative to its Y-parent.
Note that many objects have special positioning considerations, which cause any setting of
Y-offsetto be ignored or modified, even though the object supports theself-alignment-interface.
Remarks:
- For this grob, the
ledger-positionsproperty holds positions that are taken as-is, overridingStaffSymbol.ledger-positions(if set). Ledger lines may be placed on staff lines.
This object supports the following interface(s):
accidental-participating-head-interface, bend-interface, font-interface, gregorian-ligature-interface, grob-interface, item-interface, ledgered-interface, ligature-head-interface, mensural-ligature-interface, note-head-interface, rhythmic-grob-interface, rhythmic-head-interface, staff-symbol-referencer-interface and vaticana-ligature-interface.
This object is of class Item (characterized by item-interface).
| [ << Backend ] | [Top][Contents][Index] | [ Scheme functions >> ] |
[ < NoteColumn ] | [ Up: All layout objects ] | [ NoteName > ] |