|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
re: : temporary staff for divisiDear 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 lilypond-user@... http://lists.gnu.org/mailman/listinfo/lilypond-user |
|
|
Re: : temporary staff for divisiI 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 > lilypond-user@... > 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: mats.bengtsson@... WWW: http://www.s3.kth.se/~mabe ============================================= _______________________________________________ lilypond-user mailing list lilypond-user@... http://lists.gnu.org/mailman/listinfo/lilypond-user |
|
|
Re: : temporary staff for divisiHi Stefan,
> But how can I get Angular brackets for the two first violins? Not sure what you mean by the question? Please clarify. Regards, Kieren. p.s. I found your original code very difficult to read/diagnose, because of the mixing of content with presentation, indent inconsistencies, etc. — here's the version I ended up using, in case it's helpful to you: \version "2.12.2" violineA = { c''4 d'' e'' f'' g'' a'' b'' c'''\break << \new Staff \with { alignAboveContext = "ViolineA" shortInstrumentName = "Vln.1" } { c'''4^"solo"( d''' e''' f''' g''' a''' b''' c'''') } { c''4 d'' e'' f'' g'' a'' b'' c''' } >> } violineB = { \repeat "unfold" 2 { c'' 4 b' a' g' f' e' d' c' } } \score { \new GrandStaff << \new Staff = "ViolineA" \with { instrumentName = "Violine 1" shortInstrumentName = "Vlne. 1" } \violineA \new Staff = "ViolineB" \with { instrumentName = "Violine 2" shortInstrumentName = "Vlne. 2" } \violineB >> } _______________________________________________ lilypond-user mailing list lilypond-user@... http://lists.gnu.org/mailman/listinfo/lilypond-user |
|
|
Re: : temporary staff for divisiYes, now I've got what I wanted!
2009/11/10 Mats Bengtsson <mats.bengtsson@...> 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: _______________________________________________ lilypond-user mailing list lilypond-user@... http://lists.gnu.org/mailman/listinfo/lilypond-user |
| Free embeddable forum powered by Nabble | Forum Help |