]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/key-signature-scordatura.ly
Imported Upstream version 2.14.2
[lilypond.git] / input / regression / key-signature-scordatura.ly
index cbda2d43b4ff9e46bcecd900e1515230815d60e7..4b63f973c1ef265c6e37ea218862eff410155ffa 100644 (file)
@@ -1,18 +1,19 @@
 
-\version "1.9.6"
+\version "2.14.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 = #`(((0 . 3) . ,FLAT) ((1 .  2) . ,SHARP))
+    f8 a c e
+    \set Staff.keySignature = #`(((0 . 4) . ,DOUBLE-SHARP) ((1 .  2) . ,FLAT))
+    e a, g a
 }