diff options
author | Keith OHara <k-ohara5a5a@oco.net> | 2012-08-15 23:01:36 -0700 |
---|---|---|
committer | Keith OHara <k-ohara5a5a@oco.net> | 2012-08-27 21:21:57 -0700 |
commit | 1218da693e22c42b9f78074ad4d8f4a9151855c4 (patch) | |
tree | bf77a9f3fd08f83704dcbd2fe97794b4d1888c59 /input | |
parent | 30f457de4178d3e049336aaf50afe17b3b3a1135 (diff) |
Properties to control placement of accidentals in KeySignatures
Diffstat (limited to 'input')
-rw-r--r-- | input/regression/key-clefs.ly | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/input/regression/key-clefs.ly b/input/regression/key-clefs.ly index 44c499e277..58534f078c 100644 --- a/input/regression/key-clefs.ly +++ b/input/regression/key-clefs.ly @@ -1,7 +1,8 @@ \version "2.16.0" \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) @@ -23,7 +24,18 @@ rules. "} \key cis \major cis \key ces \major ces \clef bass \key cis \major cis \key ces \major ces + \break R1 + \tempo "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 + \tempo "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 } - - |