5-line staff) has not changed, the details still change to express the
innovations of contemporary notation. Hence, it encompasses some 500
years of music. Its applications range from monophonic melodies to
-monstruous counterpoint for large orchestras.
+monstrous counterpoint for large orchestras.
How can we get a grip on such a many-headed beast, and force it into
the confines of a computer program? Our solution is to make a strict
@cindex optical spacing
@lilypond[noindent]
\score { \notes {
- \property Staff.NoteSpacing \set #'stem-spacing-correction
- = #0.6
+ \override Staff.NoteSpacing #'stem-spacing-correction
+ = #0.6
c'4 e''4 e'4 b'4 |
\stemDown b'4 e''4 a'4 e''4| \stemBoth
\bar "||"
- \property Staff.NoteSpacing \override #'stem-spacing-correction
- = #0.0
- \property Staff.StaffSpacing \override #'stem-spacing-correction
- = #0.0
+ \override Staff.NoteSpacing #'stem-spacing-correction
+ = #0.0
+ \override Staff.StaffSpacing #'stem-spacing-correction
+ = #0.0
c'4 e''4 e'4 b'4 |
\stemDown b'4 e''4 a'4 e''4|
}
@lilypond
\score { \notes \relative c'' {
\stemUp
- \once\property Voice. DynamicLineSpanner \override #'padding = #4.0
+ \once\override DynamicLineSpanner #'padding = #4.0
a4_\f f,8
}
\paper { raggedright = ##t }
This was achieved with the following input statement:
@example
- \once \property Voice. DynamicLineSpanner \override #'padding = #4.0
+ \once \override DynamicLineSpanner #'padding = #4.0
@end example
It increases the amount of space (@code{padding}) between the note and
the dynamic symbol to 4.0 (which is measured in staff space, so 4.0
mechanism can be used to adjust a setting globally. By issuing the
following command, the entire piece is now formatted with thicker stems:
@example
- \property Score.Stem \override #'thickness = #3.0
+ \override Score.Stem #'thickness = #3.0
@end example
@lilypond
\score { \notes \relative c'' {
- \property Score.Stem \override #'thickness = #3.0
- \once\property Voice. DynamicLineSpanner \override #'padding = #4.0
+ \override Score.Stem #'thickness = #3.0
+ \once\override DynamicLineSpanner #'padding = #4.0
\stemUp
a4_\f f,8
}
@code{Side_position_interface::aligned_side}. If we want to replace
this function by a more advanced one, we could issue
@example
- \property Voice.DynamicLineSpanner \override #'Y-offset-callbacks
- = #(list gee-whiz-gadget)
+ \override DynamicLineSpanner #'Y-offset-callbacks
+ = #(list gee-whiz-gadget)
@end example
@noindent