[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: alignAboveContext: bad lyrics placement
From: |
Nicolas Sceaux |
Subject: |
Re: alignAboveContext: bad lyrics placement |
Date: |
Sat, 13 Aug 2005 17:02:36 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (darwin) |
Erik Sandberg <address@hidden> writes:
> On Saturday 13 August 2005 15.59, Nicolas Sceaux wrote:
>> Hi,
>>
>> I'm not sure if that's a bug or if I'm just doing something badly. In
>> the following snippet, the lyrics are not placed below the newly added
>> staff.
>
> \new Lyrics creates a new lyrics context, independently of the Staff context
> (it is not a child context of Staff). This means that the alignAboveContext
> clause will have no effect on the Lyrics context.
>
> The solution would be to set Lyrics.alignBelowContext = "high" or something
> like that.
OK, I was supposing that \lyricsto would suffice. The two following
examples do the job:
\version "2.7.5"
\layout { raggedright = ##t }
<<
\context Staff = "low" { c'1 \break c'1 }
{
\skip 1 \new Staff <<
\set Staff . alignAboveContext = "low"
\context Voice = "new" { e'2 e' }
\new Lyrics {
\set associatedVoice = #"new"
\set Lyrics.alignAboveContext = "low"
\lyricmode { bla2 bla2 }
}
>>
}
>>
\version "2.7.5"
\layout { raggedright = ##t }
<<
\context Staff = "low" { c'1 \break c'1 }
{
\skip 1 \new Staff <<
\set Staff . alignAboveContext = "low"
\context Voice = "new" { e'2 e' }
\lyricsto "new" \new Lyrics \notemode {
\set Lyrics.alignAboveContext = "low"
\lyricmode { bla bla }
}
>>
}
>>
Thanks,
nicolas