]> git.donarmstrong.com Git - lilypond.git/blob - input/test/chord-names.ly
patch::: 1.3.114.jcn1
[lilypond.git] / input / test / chord-names.ly
1 \header{
2 texidoc="
3 Chord names are generated from a list pitches, and are customisable
4 from guile.  For some unlogical names, guile customisation is used
5 by default.
6 ";
7 }
8 \version "1.3.110"
9 chord = \notes\transpose c''\chords{
10    c1
11    c:m
12    c:m5-
13    c:m5-.7-
14    c:7+
15    c:m5-.7
16    c:5-.7+
17    c:m7
18    c:7
19    d
20    d/a
21    d/+gis
22 }
23
24 \score{
25     <
26             \context ChordNames \chord
27             \context Staff \chord
28     >
29     \paper{
30
31                 \translator { 
32                         \ChordNamesContext
33                         ChordName \override #'word-space = #1 
34                 }
35     }
36 }
37