lilypond-user
[Top][All Lists]
Advanced

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

Re: adding new staff on the fly in a staff group


From: Jan-Peter Voigt
Subject: Re: adding new staff on the fly in a staff group
Date: Thu, 22 May 2014 14:30:05 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.5.0

Hi Orm,

if you name the Staff contexts and apply a context-mod with alignBelowContext=top, it should work:

%%%%%%%%%%%%%

\new StaffGroup <<

\new Staff = "top" \repeat unfold 6 { c''2 }

\new Staff = "bottom" { c''1

<<

c''1

\new Staff \with {

alignBelowContext = "top"

} { c''1 }

>> c''1 }

>>

%%%%%%%%%%%%%


HTH, Jan-Peter



On 22.05.2014 13:57, Orm Finnendahl wrote:
Hi,

 in the following example, adding a new staff on the fly within the
uppermost staff of a staff group adds the staff below the last staff
of the staff group. Is there an easy workaround to create the new
staff directly below the uppermost staff?

--
Orm

\version "2.19.5"
\score 
{ 
  <<
    \new StaffGroup
    { 
      << 
        \new Staff { c'1 << c'1 \new Staff {f' 1} >> }
        \new Staff { d'1 }
        \new Staff { e'1 }
      >>
    }
  >>
  \layout {}
  \midi {}
}

_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user


reply via email to

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