]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/key-signature-scordatura.ly
Merge remote-tracking branch 'origin/translation' into staging
[lilypond.git] / input / regression / key-signature-scordatura.ly
index 43d993fb7b36cbea00e14b35743360d5f89afaf0..547fe7688ed9447ca574a6f2dc704bb115efaf46 100644 (file)
@@ -1,18 +1,19 @@
 
-\version "2.1.28"
+\version "2.19.7"
 
-\header { texidoc = "By setting @code{Staff.keySignature} directly,
+\header { texidoc = "By setting @code{Staff.keyAlterations} directly,
 key signatures can be set invidually per pitch.
 "
 
+      }
+\layout {
+    ragged-right = ##T
 }
-\score { \notes
 \relative c'
-\context Staff {
-  \set Staff.keySignature = #'(((1 .  2) . 1) ((0 . 3) . -1))
-  f8 a c e
-  \set Staff.keySignature = #'(((1 .  2) . -1) ((0 . 4) . 2))
-  e a, g a
-}
+\new Staff {
+    \set Staff.keyAlterations = #`(((0 . 3) . ,FLAT) ((1 .  2) . ,SHARP))
+    f8 a c e
+    \set Staff.keyAlterations = #`(((0 . 4) . ,DOUBLE-SHARP) ((1 .  2) . ,FLAT))
+    e a, g a
 }