[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: adding new staff on the fly in a staff group
From: |
David Kastrup |
Subject: |
Re: adding new staff on the fly in a staff group |
Date: |
Thu, 22 May 2014 14:28:29 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) |
Orm Finnendahl <address@hidden> writes:
> 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 {}
> }
Pretty sure that question was somewhere in the last few days, but
anyhow:
\version "2.19.5"
\score
{
<<
\new StaffGroup
{
<<
\new Staff = "top" {
c'1
<<
c'1
\new Staff \with { alignAboveContext = "top" } {f' 1}
>> }
\new Staff { d'1 }
\new Staff { e'1 }
>>
}
>>
\layout {}
\midi {}
}
--
David Kastrup