]> git.donarmstrong.com Git - lilypond.git/commitdiff
LSR: new files.
authorGraham Percival <graham@percival-music.ca>
Sat, 1 Dec 2007 04:39:24 +0000 (20:39 -0800)
committerGraham Percival <graham@percival-music.ca>
Sat, 1 Dec 2007 04:39:24 +0000 (20:39 -0800)
input/lsr/pitches/preventing-extra-naturals-from-being-automatically-added.ly [new file with mode: 0644]
input/lsr/pitches/preventing-natural-signs-from-being-printed-when-the-key-signature-changes.ly [new file with mode: 0644]

diff --git a/input/lsr/pitches/preventing-extra-naturals-from-being-automatically-added.ly b/input/lsr/pitches/preventing-extra-naturals-from-being-automatically-added.ly
new file mode 100644 (file)
index 0000000..6c166a2
--- /dev/null
@@ -0,0 +1,15 @@
+%%  Do not edit this file; it is auto-generated from LSR!
+\version "2.10.12"
+
+\header { texidoc = "
+In accordance with standard typesetting rules, a natural sign is
+printed before a sharp or flat if a previous accidental on the same
+note needs to be canceled.  To change this behavior, set the
+extraNatural property to \"false\" in the Staff context. 
+" }
+
+{
+aeses4 aes ais a
+\set Staff.extraNatural = ##f
+aeses4 aes ais a
+}
diff --git a/input/lsr/pitches/preventing-natural-signs-from-being-printed-when-the-key-signature-changes.ly b/input/lsr/pitches/preventing-natural-signs-from-being-printed-when-the-key-signature-changes.ly
new file mode 100644 (file)
index 0000000..784599b
--- /dev/null
@@ -0,0 +1,21 @@
+%%  Do not edit this file; it is auto-generated from LSR!
+\version "2.10.12"
+
+\header { texidoc = "
+When the key signature changes, natural signs are automatically printed
+to cancel any accidentals from previous key signatures. This may be
+altered by setting to \"false\" the printKeyCancellation property in
+the Staff context.
+" }
+
+{
+\key d \major
+a b cis d
+\key g \minor
+a bes c d
+\set Staff.printKeyCancellation = ##f
+\key d \major
+a b cis d
+\key g \minor
+a bes c d
+}