[Top][All Lists]

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

Re: GrandStaff and StaffGroup does not mix

From: Erik Sandberg
Subject: Re: GrandStaff and StaffGroup does not mix
Date: Fri, 3 Jun 2005 11:53:45 +0200
User-agent: KMail/1.8

On Thursday 02 June 2005 16.23, Herman Grootaers wrote:
> On Wednesday 01 June 2005 11:03, Erik Sandberg wrote:
> > > a: How to connect the lyrics to the three staves in the GrandStaff,
> Thanks, this solved my problem partially. Now I have the score running as I
> want it, but the lyrics I can not get to the place I want. The lyrics must
> go under each bar of the GrandStaff, and not under the GrandStaff. this
> because I think the director will get us to sing different lyrics to the
> score on different times in the shows we perform in.
> BTW, should this be included or referred to into the manual, as I think
> many novices, as I am, will stumble on. The regression-test has maybe an
> example, but something in the manual should be better, because the RTFM is
> one of the first things I do when something doesnot happen as I think they
> should.
> Maybe you can give me some more hints on this.

You can get hints by reading ly/engraver-init.ly.

The problem is that Lyrics contexts can not be made subcontexts of GrandStaff 
contexts. Perhaps you can work around this by using something like
\layout {
\accepts Lyrics
before your score.

However, you probably want to use something else than GrandStaff, e.g. 
StaffGroup or ChoirStaff.

BTW, it should be possible to do with something like this, but it doesn't 
\new GrandStaff \with {\accepts "Lyrics" } << ... >>
I added this bug as with-accepts.ly:

%Herman Grootaers
\version "2.5.27"

\header {
texidoc = "\\accepts doesn't work within \\with. The lyrics should be between 
the staves"
reportedin = "2.5.27"

\new GrandStaff \with {\accepts Lyrics } <<
  \new Staff { c d }
  \new Lyrics \lyricmode { a b }
  \new Staff { c d }

Erik Sandberg
Maintainer of the Lilypond bug CVS archive,

reply via email to

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