lilypond-user
[Top][All Lists]
Advanced

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

Re: Chords below the staff?


From: Mats Bengtsson
Subject: Re: Chords below the staff?
Date: Thu, 29 Jul 2004 16:59:27 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040616



Brian Clements wrote:
Ok I managed to fix all but one of the problems from my previous post. The only remaining problem is that in my solo section, the chords apear below the staff it applies to. If this is normal behavior, how do I manually tell them to be above the staff?

The different parts of the score are typeset vertically in the order
they are first introduced in the .ly file. Since you start your
\context ChordNames in the middle of the score, it therefore appear
below the \context Staff. The trick to move the chords up is to
start the \context Chordnames from the beginning of the score,
maybe something like:

\score {
 <<
  \context ChordNames \chords { \skip 1*49
     \repeat volta 2 {            f1:m7 f:m7 g:m g:m f:m7 f2.:m7 d4:dim }
       \alternative {
         { g1:m7 g:m7 }
         { g:m7 g2:m7 a:7}}}
  \notes {
 \notes {
  \key f \major
   \set Score.markFormatter = #format-mark-numbers
\set Score.markFormatter = #(lambda (mark context) (make-bold-markup (make-box-markup (number->string mark))))
   \relative c' {
   \tempo 4=120

   \repeat "percent" 3 {
     f8 f g f16 af-> ~ af a f8 bf-> a }
  ...


> Also I think if I do that, I
will have to move up the alternate ending brackets. OR... perhaps the reason they are below is because the hieght of the brackets took priority over the chords being there, meaning they might have clashed or something. But either way, I will have to manually move both of them. So does anyone know the syntax (and where to place it, I'm a newbie) for moving the alternate ending brackets and the chord names?

There have recently been some emails on the mailing list on how to
move chords above or below the alternative endings, see the archives.

   /Mats




reply via email to

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