]> git.donarmstrong.com Git - lilypond.git/blobdiff - ly/property.ly
release: 1.2.14
[lilypond.git] / ly / property.ly
index ede2be764d2ccc63cefaf0aad3353366c142114b..351e34d0081ea93f7963a8df9e2b27176e87ff41 100644 (file)
@@ -8,7 +8,7 @@ SEE THE REFERENCE MANUAL FOR EXPLANATIONS.
 
 %}
 
-\version "1.0.20";
+\version "1.2.0";
 
 %hmm, (these) abbrevs suck, imo
 % i guess they're meant as some form of doco
@@ -30,13 +30,14 @@ slurdown = \notes {
        \property Voice.slurVerticalDirection = \down
 }
 
-shifton =      \property Voice.hshift = 1
-shiftoff =     \property Voice.hshift = 0
+shifton = \property Voice.horizontalNoteShift = 1
+shiftoff = \property Voice.horizontalNoteShift = 0
 
 onevoice = {   
        \stemboth \shiftoff     
 }
 
+%{ THESE ARE DEPRECATED  %}
 voiceone = 
        \context Voice = one  {
        \stemup
@@ -59,34 +60,9 @@ voicefour =
        \shifton
 }
 
-onestaff = 
-       \translator Staff=one
+%{ END OF DEPRECATED %}
 
 
-staffone = {   
-       \translator Staff=one
-       \property Staff.verticalDirection = \center
-       \property Staff.hshift = 0
-}
-
-stafftwo = {   
-       \translator Staff=two
-       \property Staff.verticalDirection = \center
-       \property Staff.hshift = 0
-}
-
-staffthree = {         
-       \translator Staff=three
-       \property Staff.verticalDirection = \center
-       \property Staff.hshift = 0
-}
-
-stafffour = {  
-       \translator Staff=four
-       \property Staff.verticalDirection = \center
-       \property Staff.hshift = 0
-}
-
 % ugh, cluttering global namespace...
 
 % ugh2. 
@@ -122,25 +98,21 @@ beampostraditional =
 
 
 slurnormal = 
-       \property Voice.slurdash = ""
+       \property Voice.slurDash = ""
 
 
 slurdotted = 
-       \property Voice.slurdash = 1
+       \property Voice.slurDash = 1
 
 
-%{
- for grace note hack, see input/test/grace.ly
-%}
-pletoff = {
-       \property Voice.pletvisibility = 0
+tupletoff = {
+       \property Voice.tupletVisibility = 0
 }
-pleton = {
-       \property Voice.pletvisibility = 3
+tupleton = {
+       \property Voice.tupletVisibility = 3
 }
 tiny  = {
        \property Voice.fontSize= "-2"
-       \pletoff %urg
 }
 
 small  = {
@@ -149,44 +121,14 @@ small  = {
 
 normalsize = {
        \property Voice.fontSize= "0"
-       \pleton %urg
 }
 
-%{
-  [urg: try at] temporary grace note hack
-  the total visible duration of the grace notes must be half
-  the duration of the 'at' note: e.g.:
-
-  \grace b8 \graceat c4 \ecarg
-  \grace c16 b16 \graceat c4 \ecarg
-
-grace = {
-       \tiny
-% it would be so cool not to have to specify these factors each time...
-% :-(
-       \property Voice.pletvisibility = 0
-       \[1/16
-}
-
-graceat = \melodic {
-       \normalsize
-       \property Voice.pletvisibility = 0
-       \] \[31/32
-}
-
-ecarg =  \melodic {
-       \property Voice.pletvisibility = 0
-       \]
-       \property Voice.pletvisibility = 3
-}
-%}
-
 normalkey = {
-       \property Staff.keyoctaviation = 1
+       \property Staff.keyOctaviation = 1
 }
 
 specialkey = {
-       \property Staff.keyoctaviation = 0
+       \property Staff.keyOctaviation = 0
 }
 
 % End the incipit and print a ``normal line start''.
@@ -196,3 +138,9 @@ endincipit = \notes{
     \nobreak \bar "";
 }
 
+autoBeamOff = \property Voice.noAutoBeaming = "1"
+autoBeamOn = \property Voice.noAutoBeaming = ""
+
+
+emptyText = \property Voice.textEmptyDimension = "1"
+fatText = \property Voice.textEmptyDimension = ""