[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: \key Moves \chords Below Staff
From: |
Xavier Scheuer |
Subject: |
Re: \key Moves \chords Below Staff |
Date: |
Mon, 18 Apr 2011 16:14:30 +0200 |
On 18 April 2011 15:58, Christian Eitner <address@hidden> 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 <address@hidden>