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
> [email protected]
> https://lists.gnu.org/mailman/listinfo/lilypond-user
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user