Thanks - that's very neat. And, of course, these solutions can be transposed at a stroke.
Richard On Wed, 2014-07-09 at 18:06 +0200, Thomas Morley wrote: > 2014-07-09 13:52 GMT+02:00 Richard Shann <[email protected]>: > > Hi list, > > > > With notation like > > \version "2.18.0" > > \chordmode { > > c/g > > } > > I can get chord names with /G at the end to indicate a G added below the > > root of the chord. > > With the notation > > \new ChordNames > > { > > <c' e' g'>1 > > } > > > > I can get the chord symbol C typeset, but is there any way to get the > > C/G symbol typeset via this syntax? Obviously, if I just add the low G > > it interprets it as a chord on the root G. > > > > Richard > > > How about: > > \version "2.18.0" > > bass = > #(define-music-function (parser location mus)(ly:music?) > (if (music-is-of-type? mus 'note-event) > (ly:music-set-property! mus 'bass #t) > mus) > mus) > > \new ChordNames > { > <c' e' g' \bass g,>2 > <c' e' g' \bass e>2 > <c' e' g' \bass fis>2 > } > > HTH, > Harm _______________________________________________ lilypond-user mailing list [email protected] https://lists.gnu.org/mailman/listinfo/lilypond-user
