Hi Mats, thank you, your solution works, even if now I have a very large distance between the two staves. How can I come back to the original distance of the piano staff? Thanks
Libero Mureddu \version "2.4.5" md = {c'4 c' c' c'} ms = {c4 c c c} harmonies = \chordmode { c4:m f:min7 g:maj c:aug } \score { \context PianoStaff << \context Staff = upper \md \context ChordNames { \set chordChanges = ##t \harmonies } \context Staff = lower \ms >> \layout { \context{ \PianoStaff \accepts "ChordNames" } } } Compilation exited abnormally with code 1 at Fri Apr 8 13:23:50 >-- Original Message -- >Date: Fri, 08 Apr 2005 11:00:00 +0200 >From: Mats Bengtsson <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >CC: lilypond-user@gnu.org >Subject: Re: chords in piano staff > > >By default, a PianoStaff context cannot contain a ChordNames context, but >that's easy to modify. Just add (untested) >\layout{ > \context{ > \PianoStaff > \accepts "ChordNames" > } >} > > /Mats > >[EMAIL PROTECTED] wrote: > >>Hi! >>I'm trying to have a piano staff with the chords written between the two >>staves. >>I've tried many combination but with no result: in a piano staff or a grand >>staff the chords appear below the lower staff. The only way has been to >create >>a staff group, but in this case I lost the brace at the beginning of the >>system. Or maybe is it possible to move the position of the chords? >>Any suggestion? >>Thanks >> >>Libero Mureddu >> >> >> >> >>_______________________________________________ >>lilypond-user mailing list >>lilypond-user@gnu.org >>http://lists.gnu.org/mailman/listinfo/lilypond-user >> >> _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user