lilypond-user
[Top][All Lists]
Advanced

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

Re: \key Moves \chords Below Staff


From: Christian Eitner
Subject: Re: \key Moves \chords Below Staff
Date: Mon, 18 Apr 2011 17:13:10 +0200

Dear Xavier,

>> 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
>     }
>   }
>  >>
> }

Perfect! All problems solved. Thanks a lot to everyone.

Cheers,

Christian



reply via email to

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