lilypond-user
[Top][All Lists]
Advanced

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

Re: : temporary staff for divisi


From: Mats Bengtsson
Subject: Re: : temporary staff for divisi
Date: Tue, 10 Nov 2009 18:25:43 +0100
User-agent: Thunderbird 2.0.0.5 (X11/20070716)

I was just about to formulate an answer to your initial question, but it turns out that you have figured it out partially yourself. The reason that your latest example looks a bit weird is that a GrandStaff cannot contain a ChoirStaff (unless you modify the definition of GrandStaff). If you instead had used a StaffGroup for the full system and a GrandStaff to group the two violin 1 staves:
\score {
 \new StaffGroup <<
  \new GrandStaff \violineA
   \violineB >>

}
you would get something closer to what you want (I guess).

   /Mats


Stefan Thomas wrote:
Dear community,
I've got a little bit more knowledge. I found out that I can place a staff exactly with alignAboveContext
But how can I get Angular brackets for the two first violins?

\version "2.12.2"
 violineA = \context Staff ="ViolineA"
 { \set Staff.instrumentName = "Violine 1"
  \set Staff.shortInstrumentName="Vlne.1"

c'' 4 d'' e'' f'' g'' a'' b'' c'''\break
 <<
   \new Staff \with { alignAboveContext = "ViolineA" }
   { \set Staff.shortInstrumentName="Vln.1"
     c'''4^"solo"( d''' e''' f''' g''' a''' b''' c'''') }
   { c'' 4 d'' e'' f'' g'' a'' b'' c''' } >>
 }
 violineB = \context Staff ="ViolineB"
 { \set Staff.instrumentName = "Violine 2"
   \set Staff.shortInstrumentName="Vlne. 2"
   \repeat "unfold" 2 { c'' 4 b' a' g' f' e' d' c' }}
\score {
  \new GrandStaff <<
   \new ChoirStaff \violineA
    \violineB >>

}
------------------------------------------------------------------------

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

--
=============================================
        Mats Bengtsson
        Signal Processing
        School of Electrical Engineering
        Royal Institute of Technology (KTH)
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
       Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================





reply via email to

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