]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/key-clefs.ly
Merge branch 'issue4096' into HEAD
[lilypond.git] / input / regression / key-clefs.ly
index 761f062710823654134893c6545c7b8b0bce14aa..cef2ac4b52dd73500c9aab8d55ec243667dc1bee 100644 (file)
@@ -1,7 +1,8 @@
 
 
-\version "2.12.0"
+\version "2.17.6"
 \header { texidoc = "Each clef has its own accidental placing
 \header { texidoc = "Each clef has its own accidental placing
-rules. "}
+rules, which can be adjusted using @code{sharp-positions}
+and @code{flat-positions}." }
 
 #(set-global-staff-size 16)
 
 
 #(set-global-staff-size 16)
 
@@ -23,7 +24,20 @@ rules. "}
   \key cis \major cis \key ces \major ces
   \clef bass
   \key cis \major cis \key ces \major  ces
   \key cis \major cis \key ces \major ces
   \clef bass
   \key cis \major cis \key ces \major  ces
+  \break R1
+  \override Score.RehearsalMark.self-alignment-X = #LEFT
+  \override Score.RehearsalMark.font-size = #0
+  \mark "B-sharp on top"
+  \override Staff.KeySignature.sharp-positions = #'(6 0 1 2 3 4 5)
+  \override Staff.KeyCancellation.sharp-positions = #'(6 0 1 2 3 4 5)
+  \key cis \major R
+  \mark "Flats throughout the staff"
+  \override Staff.KeySignature.flat-positions = #'((-5 . 5))
+  \override Staff.KeyCancellation.flat-positions = #'((-5 . 5))
+  \key ces \major R
+  \clef tenor
+  \key cis \major cis \break \key ces \major ces
+  \clef treble
+  \key cis \major cis \key ces \major ces
 }
 
 }
 
-
-