On 18 April 2011 15:58, Christian Eitner <[email protected]> wrote:
>
> Yes, but there is really a lot of stuff going on before the couple of
> bars with chords, and I would have to adjust the number of skipped
> bars each time something changed.
>
> Is there perhaps a way to tell the new chords context to be placed
> above alread existent ones?

There is the  alignAboveContext  property.
Cf. NR 1.6.2 Modifying single staves


\version "2.13.60"

\score {
 <<
   \new Staff = "main" {
     \relative c'' {
       \key a \major
       % lot of stuffs going on before
       a1 c
       c a
       % chords start here
       <<
         {
           % staff continues here
           a1 c
         }
         \new ChordNames \with {
           alignAboveContext = "main"
         } {
           \chordmode {
             a1 c
           }
         }
       >>
       % no more chords
       % staff continues
       c1 a
     }
   }
 >>
}


Cheers,
Xavier

-- 
Xavier Scheuer <[email protected]>

_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to