]> git.donarmstrong.com Git - lilypond.git/blobdiff - ly/property.ly
release: 1.3.147
[lilypond.git] / ly / property.ly
index 3029e49e94653c72e3fec5770efe75e31012c0b3..5fa998727dd151daa881e4560c1ef6490d3e21c6 100644 (file)
@@ -1,14 +1,14 @@
 % property.ly
 
-\version "1.3.110";
+\version "1.3.146"
 
-stemUp = \property Voice.Stem \override #'direction = #1
-stemDown = \property Voice.Stem \override #'direction = #-1 
+stemUp = \property Voice.Stem \set #'direction = #1
+stemDown = \property Voice.Stem \set #'direction = #-1 
 stemBoth= \property Voice.Stem \revert #'direction
 
 slurUp   = \property Voice.Slur \override #'direction = #1
-slurBoth = \property Voice.Slur \revert #'direction 
 slurDown = \property Voice.Slur \override #'direction = #-1
+slurBoth = \property Voice.Slur \revert #'direction 
 shiftOn  = \property Voice.NoteColumn \override #'horizontal-shift = #1
 shiftOnn  = \property Voice.NoteColumn \override #'horizontal-shift = #2
 shiftOnnn  = \property Voice.NoteColumn \override #'horizontal-shift = #3
@@ -31,6 +31,20 @@ dynamicBoth = {
   \property Voice.DynamicLineSpanner \revert #'direction
 }
 
+scriptUp  = {
+  \property Voice.TextScript \override #'direction = #1
+  \property Voice.Script \override #'direction = #1
+}
+scriptDown = {
+  \property Voice.TextScript \override #'direction = #-1
+  \property Voice.Script \override #'direction = #-1
+}
+scriptBoth = {
+  \property Voice.TextScript \revert #'direction
+  \property Voice.Script \revert #'direction
+}
+
+
 cadenzaOn = \property Score.timing = ##f
 cadenzaOff = {
   \property Score.timing = ##t
@@ -100,10 +114,10 @@ specialkey = {
 
 % End the incipit and print a ``normal line start''.
 endincipit = \notes{
-    \partial 16; s16  % Hack to handle e.g. \bar ".|"; \endincipit
+    \partial 16 s16  % Hack to handle e.g. \bar ".|" \endincipit
     \context Staff \outputproperty #(make-type-checker 'clef-interface) #'full-size-change = ##t
     \context Staff \outputproperty #(make-type-checker 'clef-interface) #'non-default = ##t
-    \bar "";
+    \bar ""
 }
 
 autoBeamOff = \property Voice.noAutoBeaming = ##t
@@ -112,8 +126,8 @@ 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
+showStaffSwitch = \property PianoStaff.followVoice = ##t
+hideStaffSwitch = \property PianoStaff.followVoice = ##f
 
 
 % To remove a Volta bracet or some other graphical object,