lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: chords in piano staff


From: Mats Bengtsson
Subject: Re: chords in piano staff
Date: Fri, 08 Apr 2005 17:54:57 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050319

Try something like
\layout {
  \context{
    \PianoStaff
    \override VerticalAlignment #'forced-distance = #6
    \accepts "ChordNames"
  }

  /Mats

address@hidden wrote:

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 <address@hidden>
To:  address@hidden
CC:  address@hidden
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

address@hidden 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
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user






_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user




reply via email to

[Prev in Thread] Current Thread [Next in Thread]