]> git.donarmstrong.com Git - lilypond.git/blobdiff - ly/property.ly
release: 1.3.31
[lilypond.git] / ly / property.ly
index 351e34d0081ea93f7963a8df9e2b27176e87ff41..8fe96e79a81f541b627aa6f545a92f04f84bdf10 100644 (file)
@@ -8,119 +8,98 @@ SEE THE REFERENCE MANUAL FOR EXPLANATIONS.
 
 %}
 
-\version "1.2.0";
+\version "1.3.4";
 
 %hmm, (these) abbrevs suck, imo
 % i guess they're meant as some form of doco
 % that's what i use them for...
+
 stemup =        \property Voice.verticalDirection = \up 
 stemboth=      \property Voice.verticalDirection = \center
 stemdown =     \property Voice.verticalDirection = \down
 
-slurup = \notes {
-       s1*0
-       \property Voice.slurVerticalDirection = \up 
-       }
-slurboth= \notes {
-       s1*0
-       \property Voice.slurVerticalDirection = \center
-}
-slurdown = \notes {    
-       s1*0
-       \property Voice.slurVerticalDirection = \down
-}
+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
 
-shifton = \property Voice.horizontalNoteShift = 1
-shiftoff = \property Voice.horizontalNoteShift = 0
+cadenzaOn = \property Score.timing = ##f
+cadenzaOff = { \property Score.timing = ##t
+       \property Score.measurePosition = #(make-moment 0 1)
+       }
 
+       
 onevoice = {   
        \stemboth \shiftoff     
 }
 
-%{ THESE ARE DEPRECATED  %}
-voiceone = 
-       \context Voice = one  {
-       \stemup
-}
-
-voicetwo = 
-       \context Voice = two {
-       \stemdown
-}
-
-voicethree = 
-       \context Voice = three {
+voiceone = \stemup
+voicetwo = \stemdown
+voicethree = {
        \stemup
-
+       \shifton
 }
 
-voicefour = 
-       \context Voice = four {
+voicefour = {
        \stemdown
        \shifton
 }
 
-%{ END OF DEPRECATED %}
-
-
 % ugh, cluttering global namespace...
 
 % ugh2. 
-none=0
-free=0
-normal=1
-traditional=2
 infinity=10000
 
 beamslopeproportional = 
-       \property Score.beamslopedamping = \none
+       \property Score.beamSlopedamping = 0
 
 beamslopedamped = 
-       \property Score.beamslopedamping = \normal
+       \property Score.beamSlopedamping = 1
 
 
 beamslopezero = 
-       \property Score.beamslopedamping = \infinity
+       \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 = \none
+       \property Score.beamQuantisation = 0
 
 
 beamposnormal = 
-       \property Score.beamquantisation = \normal
+       \property Score.beamQuantisation = 1
 
 
 beampostraditional = 
-       \property Score.beamquantisation = \traditional
+       \property Score.beamQuantisation = 2
 
 
 slurnormal = 
        \property Voice.slurDash = ""
 
 
-slurdotted = 
+slurdotted =                           
        \property Voice.slurDash = 1
 
 
-tupletoff = {
+tupletoff =
        \property Voice.tupletVisibility = 0
-}
-tupleton = {
+
+tupleton = 
        \property Voice.tupletVisibility = 3
-}
-tiny  = {
-       \property Voice.fontSize= "-2"
-}
 
-small  = {
-       \property Voice.fontSize= "-1"
-}
+tiny  = 
+       \property Voice.fontSize= -2
+
+
+small  = 
+       \property Voice.fontSize= -1
+
 
 normalsize = {
-       \property Voice.fontSize= "0"
+       \property Voice.fontSize= 0
 }
 
 normalkey = {
@@ -134,13 +113,14 @@ specialkey = {
 % End the incipit and print a ``normal line start''.
 endincipit = \notes{
     \partial 16; s16  % Hack to handle e.g. \bar ".|"; \endincipit
-    \property Staff.clefStyle = "fullSizeChanges" 
+    \property Staff.clefStyle = #"fullSizeChanges" 
     \nobreak \bar "";
 }
 
-autoBeamOff = \property Voice.noAutoBeaming = "1"
-autoBeamOn = \property Voice.noAutoBeaming = ""
+autoBeamOff = \property Voice.noAutoBeaming = ##t
+autoBeamOn = \property Voice.noAutoBeaming = ##f
+
 
+emptyText = \property Voice.textEmptyDimension = ##t
+fatText = \property Voice.textEmptyDimension = ##f
 
-emptyText = \property Voice.textEmptyDimension = "1"
-fatText = \property Voice.textEmptyDimension = ""