X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fkey-signature-scordatura.ly;h=5954f2c0138970deebb741732ee8dc51917839fe;hb=cb04c4c790e5ad83a03b3761421db17a72aeae61;hp=e34bb8ca540dafd01786c1648eb9e8c3c65c077c;hpb=30c15d67dcc56919da38c9b5bdfda0684c1fc964;p=lilypond.git diff --git a/input/regression/key-signature-scordatura.ly b/input/regression/key-signature-scordatura.ly index e34bb8ca54..5954f2c013 100644 --- a/input/regression/key-signature-scordatura.ly +++ b/input/regression/key-signature-scordatura.ly @@ -1,18 +1,19 @@ -\version "1.9.1" +\version "2.19.21" -\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.keyAlterations} 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 -} +\relative +\new Staff { + \set Staff.keyAlterations = #`(((0 . 3) . ,FLAT) ((1 . 2) . ,SHARP)) + f'8 a c e + \set Staff.keyAlterations = #`(((0 . 4) . ,DOUBLE-SHARP) ((1 . 2) . ,FLAT)) + e a, g a }