]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/pitches/key-signatures.ly
Merge branch 'master' of ssh://kainhofer@git.sv.gnu.org/srv/git/lilypond into kainhofer
[lilypond.git] / input / lsr / pitches / key-signatures.ly
1 %%  Do not edit this file; it is auto-generated from LSR!
2 \version "2.10.12"
3
4 \header { texidoc = "
5 The key signature indicates the tonality in which a piece is played. 
6 It is denoted by a set of alterations (flats or sharps) at the start of
7 the staff.
8
9    Setting or changing the key signature is done with the @code{\\key}
10 command
11
12
13 @code{\\key} pitch type
14
15    
16 Here, type should be @code{\\major} or @code{\\minor} to get
17 pitch-major or pitch-minor, respectively.  You may also use the
18 standard mode names (also called “church modes”): @code{\\ionian},
19 @code{\\locrian}, @code{\\aeolian}, @code{\\mixolydian},
20 @code{\\lydian}, @code{\\phrygian}, and @code{\\dorian}.
21
22    
23 This command sets the context property @code{Staff.keySignature}. 
24 Non-standard key signatures can be specified by setting this property
25 directly.
26
27    
28 Accidentals and key signatures often confuse new users, because
29 unaltered notes get natural signs depending on the key signature. 
30 " }
31
32 \relative c''
33 {
34 \key d \major
35 a b cis d
36 \key g \minor
37 a bes c d
38 \set Staff.printKeyCancellation = ##f
39 \key d \major
40 a b cis d
41 \key g \minor
42 a bes c d
43 }
44