]> git.donarmstrong.com Git - lilypond.git/commitdiff
Add documentation and regtest for lowercase minor chords feature.
authorValentin Villenave <v.villenave@gmail.com>
Wed, 9 Jun 2010 10:37:12 +0000 (12:37 +0200)
committerValentin Villenave <v.villenave@gmail.com>
Wed, 9 Jun 2010 10:37:12 +0000 (12:37 +0200)
A new regtest demonstrates the feature, and a few lines as well
as an example have been added in the relevant NR chapter.

Documentation/notation/chords.itely
input/regression/chord-names-lower-case-minor.ly [new file with mode: 0644]

index a95b74253b8e3e6d7bf742d51806df7c607dbdd0..a5d76b4822b45788c1a6258bcc7a185a07bed4a4 100644 (file)
@@ -575,6 +575,20 @@ The effect is demonstrated here:
 
 @lilypondfile[ragged-right]{chord-names-languages.ly}
 
+
+@funindex chordNameLowercaseMinor
+
+German songbooks may indicate minor chords as lowercase letters,
+without any @var{m} suffix.  This can be obtained by setting the
+@code{chordNameLowercaseMinor} property:
+
+@lilypond[verbatim,quote,ragged-right, relative=1]
+\chords {
+  \set chordNameLowercaseMinor = ##t
+  c2 d:m e:m f
+}
+@end lilypond
+
 If none of the existing settings give the desired output, the chord
 name display can be tuned through the following properties.
 
diff --git a/input/regression/chord-names-lower-case-minor.ly b/input/regression/chord-names-lower-case-minor.ly
new file mode 100644 (file)
index 0000000..1401abe
--- /dev/null
@@ -0,0 +1,15 @@
+\version "2.13.22"
+
+\header {
+
+    texidoc = "Minor chords may be printed as lowercase letters,
+  in which case the `m' suffix is omitted in the output."
+
+}
+
+
+\chords {
+  d:m
+  \set chordNameLowercaseMinor = ##t
+  d:m
+}