]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/keys.ly
* lily/beam-engraver.cc: move new-beam-event to beam-event
[lilypond.git] / input / regression / keys.ly
1
2 \version "1.9.1"
3 \header{
4 texidoc="
5 Key signatures appear on key  changes. They may also
6 appear without barlines.  The restoration accidentals are not printed at
7 the start of the line. If @code{createKeyOnClefChange} is set, they're
8 also created on a clef change.
9 "
10 }
11
12
13
14 \score {
15   \notes \relative c''
16   {
17         \property Staff. createKeyOnClefChange = ##t  
18     \key bes \major c2
19 %    \key c \major %  \minor
20     \key es \major %  \minor
21     c2
22     \break
23     \key bes \major % \major
24     c2 \clef alto c2   \key d \major \clef treble c2
25         \property Staff. keySignature = #'((2 . -1)  (6 . -1) (4 . -1))
26         e2
27   }
28 }
29