]> git.donarmstrong.com Git - lilypond.git/blobdiff - ly/property.ly
patch::: 1.3.125.jcn4
[lilypond.git] / ly / property.ly
index 754e2854cc26f367902879859a206110532cbe20..028933e231aa677b805ad6981cef9146ee1c6d1c 100644 (file)
@@ -1,23 +1,23 @@
 % property.ly
 
-\version "1.3.96";
+\version "1.3.110";
 
-stemUp = \property Voice.Stem \push #'direction = #1
-stemDown = \property Voice.Stem \push #'direction = #-1 
-stemBoth= \property Voice.Stem \pop #'direction
+stemUp = \property Voice.Stem \override #'direction = #1
+stemDown = \property Voice.Stem \override #'direction = #-1 
+stemBoth= \property Voice.Stem \revert #'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 
+slurUp   = \property Voice.Slur \override #'direction = #1
+slurBoth = \property Voice.Slur \revert #'direction 
+slurDown = \property Voice.Slur \override #'direction = #-1
+shiftOn  = \property Voice.NoteColumn \override #'horizontal-shift = #1
+shiftOnn  = \property Voice.NoteColumn \override #'horizontal-shift = #2
+shiftOnnn  = \property Voice.NoteColumn \override #'horizontal-shift = #3
+shiftOff  = \property Voice.NoteColumn \revert #'horizontal-shift 
 
 
-tieUp = \property Voice.Tie \push #'direction = #1
-tieDown = \property Voice.Tie \push #'direction = #-1
-tieBoth = \property Voice.Tie \pop #'direction 
+tieUp = \property Voice.Tie \override #'direction = #1
+tieDown = \property Voice.Tie \override #'direction = #-1
+tieBoth = \property Voice.Tie \revert #'direction 
 
 cadenzaOn = \property Score.timing = ##f
 cadenzaOff = { \property Score.timing = ##t
@@ -48,8 +48,8 @@ voiceFour = {
        \shiftOn
 }
 
-slurDotted = \property Voice.Slur \push #'dashed = #1
-slurNoDots = \property Voice.Slur \pop #'dashed
+slurDotted = \property Voice.Slur \override #'dashed = #1
+slurNoDots = \property Voice.Slur \revert #'dashed
 
        
 tiny  = 
@@ -82,7 +82,14 @@ endincipit = \notes{
 autoBeamOff = \property Voice.noAutoBeaming = ##t
 autoBeamOn = \property Voice.noAutoBeaming = ##f
 
-
 emptyText = \property Voice.textNonEmpty = ##f
 fatText = \property Voice.textNonEmpty = ##t
 
+showStaffSwitch = \property Thread.followThread = ##t
+hideStaffSwitch = \property Thread.followThread = ##f
+
+
+% To remove a Volta bracet or some other graphical object,
+% set it to turnOff. Example: \property Staff.VoltaBracket = \turnOff
+
+turnOff = #'((meta .  ((interfaces . ()))))