]> git.donarmstrong.com Git - lilypond.git/blobdiff - ly/grace-init.ly
release: 1.5.4
[lilypond.git] / ly / grace-init.ly
index 92e9c30c2f3374235815a9229eef25a2ddce0f9d..b9a895cdc40f4f163ffe9a0a7f283526ecc89d39 100644 (file)
@@ -18,8 +18,11 @@ startGraceMusic = {
     \property Voice.Beam \override #'space-function = #grace-beam-space-function
     \property Voice.Beam \override #'thickness = #0.3
     
-    % must use staff. Accidentals should also be smaller. 
-    \property Staff.fontSize = #-2
+    % Can't use Staff.fontSize, since time sigs, keys sigs, etc. will
+    % be smaller as well.
+
+    \property Voice.fontSize = #-2
+    \property Staff.LocalKeyItem \override #'font-relative-size = #-2
 }
 
 stopGraceMusic = {
@@ -34,5 +37,9 @@ stopGraceMusic = {
     \property Voice.Stem \revert #'length
     \property Voice.Stem \revert #'direction    
     
-    \property Staff.fontSize \unset
+    % Can't use Staff.fontSize, since time sigs, keys sigs, etc. will
+    % be smaller as well.
+
+    \property Voice.fontSize \unset
+    \property Staff.LocalKeyItem \revert #'font-relative-size
 }