]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/key-signature-scordatura.ly
Merge commit 'origin' into beamlets2
[lilypond.git] / input / regression / key-signature-scordatura.ly
index e34bb8ca540dafd01786c1648eb9e8c3c65c077c..93710c2c7066dc2588d9ae873e918a41bdac6aee 100644 (file)
@@ -1,18 +1,19 @@
 
-\version "1.9.1"
+\version "2.12.0"
 
-\header { texidoc = "Key signatures can be set per pitch
-individually. This can be done by setting @code{Staff.keySignature}
-directly."
+\header { texidoc = "By setting @code{Staff.keySignature} directly,
+key signatures can be set invidually per pitch.
+"
 
+      }
+\layout {
+    ragged-right = ##T
 }
-\score { \notes
 \relative c'
-\context Staff {
-  \property Staff.keySignature = #'(((1 .  2) . 1) ((0 . 3) . -1))
-  f8 a c e
-  \property Staff.keySignature = #'(((1 .  2) . -1) ((0 . 4) . 2))
-  e a, g a
-}
+\new Staff {
+    \set Staff.keySignature = #`(((1 .  2) . ,SHARP) ((0 . 3) . ,FLAT))
+    f8 a c e
+    \set Staff.keySignature = #`(((1 .  2) . ,FLAT) ((0 . 4) . ,DOUBLE-SHARP))
+    e a, g a
 }