% property.ly
-% list of properties that lily recognises
-% and some shorthands (ugh)
-%{
+\version "1.3.96";
-SEE THE REFERENCE MANUAL FOR EXPLANATIONS.
+stemUp = \property Voice.Stem \push #'direction = #1
+stemDown = \property Voice.Stem \push #'direction = #-1
+stemBoth= \property Voice.Stem \pop #'direction
-%}
+slurUp = \property Voice.Slur \push #'direction = #1
+slurBoth = \property Voice.Slur \pop #'direction
+slurDown = \property Voice.Slur \push #'direction = #-1
+shiftOn = \property Voice.NoteColumn \push #'horizontal-shift = #1
+shiftOnn = \property Voice.NoteColumn \push #'horizontal-shift = #2
+shiftOnnn = \property Voice.NoteColumn \push #'horizontal-shift = #3
+shiftOff = \property Voice.NoteColumn \pop #'horizontal-shift
-\version "1.3.59";
-
-%{
-stemup = \property Voice.verticalDirection = \up
-stemboth= \property Voice.verticalDirection = \center
-stemdown = \property Voice.verticalDirection = \down
-%}
-
-stemup = \property Voice.basicStemProperties \push #'direction = #1
-stemdown = \property Voice.basicStemProperties \push #'direction = #-1
-stemboth= \property basicStemProperties \pop #'direction
-
-slurup = \property Voice.slurVerticalDirection = \up
-slurboth = \property Voice.slurVerticalDirection = \center
-slurdown = \property Voice.slurVerticalDirection = \down
-shifton = \property Voice.horizontalNoteShift = #1
-shiftoff = \property Voice.horizontalNoteShift = #0
+tieUp = \property Voice.Tie \push #'direction = #1
+tieDown = \property Voice.Tie \push #'direction = #-1
+tieBoth = \property Voice.Tie \pop #'direction
cadenzaOn = \property Score.timing = ##f
cadenzaOff = { \property Score.timing = ##t
}
-onevoice = {
- \stemboth \shiftoff
+oneVoice = {
+ \stemBoth
+ \tieBoth
+ \shiftOff
}
-voiceone = \stemup
-voicetwo = \stemdown
-voicethree = {
- \stemup
- \shifton
+voiceOne = { \stemUp
+ \tieUp
}
-
-voicefour = {
- \stemdown
- \shifton
+voiceTwo = { \stemDown
+ \tieDown
+ }
+
+voiceThree = {
+ \stemUp
+ \shiftOn
}
-% ugh, cluttering global namespace...
-
-% ugh2.
-infinity=10000
-
-beamslopeproportional =
- \property Score.beamSlopedamping = 0
-
-beamslopedamped =
- \property Score.beamSlopedamping = 1
-
-
-beamslopezero =
- \property Score.beamSlopedamping = \infinity
-
-
-% this sucks, you'd want to pass an array, at least
-% (or embedded code: you still can't dictate the slope / stemlength)
-beamposfree =
- \property Score.beamQuantisation = 0
-
-
-beamposnormal =
- \property Score.beamQuantisation = 1
-
-
-beampostraditional =
- \property Score.beamQuantisation = 2
-
-
-slurnormal =
- \property Voice.slurDash = ##f
-
-
-slurdotted =
- \property Voice.slurDash = 1
-
-
-tupletoff =
- \property Voice.tupletVisibility = 0
+voiceFour = {
+ \stemDown
+ \shiftOn
+}
-tupleton =
- \property Voice.tupletVisibility = 3
+slurDotted = \property Voice.Slur \push #'dashed = #1
+slurNoDots = \property Voice.Slur \pop #'dashed
+
tiny =
\property Voice.fontSize= -2