Wonderful!
You know the next question, do you :)
How to get the chordnames centered under each other?
Here's one way:
\version "2.12"
#(define (centred-ignatzek-chord-names in-pitches bass inversion
context)
(markup #:center-align (ignatzek-chord-names in-pitches bass
inversion context) ))
#(define (centred-parenthesis-ignatzek-chord-names in-pitches bass
inversion context)
(markup #:center-align #:line ("(" (ignatzek-chord-names in-pitches
bass inversion context) ")")))
chordset = \chordmode
{
c1:7 |
g1:7.5+ |
f2:min6 d4:11 g:7 |
c:5.2^3
}
\score
{
<<
\new ChordNames \with { chordNameFunction = #centred-ignatzek-chord-
names } \chordset
\new ChordNames \with { chordNameFunction = #centred-parenthesis-
ignatzek-chord-names } \transpose d c \chordset
\new Staff \chordset
>>
\layout
{
\context
{
\ChordNames
\override ChordName #'X-offset = #1
}
}
}
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user