]> git.donarmstrong.com Git - lilypond.git/blob
678f86a92bf391aac7091cb756c8afb0e12a57b0
[lilypond.git] /
1 %% DO NOT EDIT this file manually; it is automatically
2 %% generated from LSR http://lsr.dsi.unimi.it
3 %% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
4 %% and then run scripts/auxiliar/makelsr.py
5 %%
6 %% This file is in the public domain.
7 \version "2.14.2"
8
9 \header {
10   lsrtags = "pitches, automatic-notation"
11
12   texidoc = "
13 When the key signature changes, natural signs are automatically printed
14 to cancel any accidentals from previous key signatures.  This may be
15 prevented by setting to @code{f} the @code{printKeyCancellation}
16 property in the @code{Staff} context.
17
18 "
19   doctitle = "Preventing natural signs from being printed when the key signature changes"
20 } % begin verbatim
21
22
23 \relative c' {
24   \key d \major
25   a4 b cis d
26   \key g \minor
27   a4 bes c d
28   \set Staff.printKeyCancellation = ##f
29   \key d \major
30   a4 b cis d
31   \key g \minor
32   a4 bes c d
33 }