]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/key-signature-scordatura.ly
Run scripts/auxiliar/update-with-convert-ly.sh
[lilypond.git] / input / regression / key-signature-scordatura.ly
index 198d2a93e64f352a2627ac756b3cb4f4daaf4b16..fb51ebaf040c0fa705ca42ebb6ae799cfe78f670 100644 (file)
@@ -1,17 +1,19 @@
-\version "1.7.18"
 
-\header { texidoc = "Key signatures can be set per pitch
-individually. This can be done by setting @code{Staff.keySignature}
-directly."
+\version "2.16.0"
 
+\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 = #`(((0 . 3) . ,FLAT) ((1 .  2) . ,SHARP))
+    f8 a c e
+    \set Staff.keySignature = #`(((0 . 4) . ,DOUBLE-SHARP) ((1 .  2) . ,FLAT))
+    e a, g a
 }