[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
How do you add this staff group bracket?
From: |
Reggie |
Subject: |
How do you add this staff group bracket? |
Date: |
Sat, 26 Jan 2019 07:08:32 -0700 (MST) |
Hi. I tried to look here and attempt adding delimiter code but no matter what
I do I cannot show a brace or bracket or anything to put my two oboes
together for the duration of the 2 staves on a few pages. Then it should go
back to normal grouping in code. Can you please tell me how I am wrong? How
can I have a brace grouping for my oboes but then go back to normal right
after the end of the two?
http://lilypond.org/doc/v2.19/Documentation/notation/displaying-staves#grouping-staves
Here is my code it compiles sorry I didn't make it only 3 lines long. Thank
you for helping.
how_to_brace.png
<http://lilypond.1069038.n5.nabble.com/file/t5625/how_to_brace.png>
\version "2.19.82"
\language "english"
#(set-global-staff-size 20)
global = {
}
scoreAFluteI = \relative c'' {
\global
% Music follows here.
\repeat unfold 100 {c1}
}
scoreAFluteII = \relative c'' {
\global
% Music follows here.
\repeat unfold 100 {c1}
}
scoreAOboe = \relative c'' {
\global
% Music follows here.
\repeat unfold 20 {c1}
<<
\new Staff \with {
alignAboveContext = #"mainoboe"
shortInstrumentName = "Solo Ob."
} { \break fs fs1 f f f f f f f f f f f f \break } {
\repeat unfold 50 {f,16 e d8 r f16 e d8 e f16 g a8 }
}
>>
}
scoreABassoon = \relative c {
\global
% Music follows here.
\repeat unfold 100 {c1}
}
scoreATrumpetC = \relative c'' {
\global
% Music follows here.
\repeat unfold 100 {c1}
}
scoreATrombone = \relative c {
\global
% Music follows here.
\repeat unfold 100 {c1}
}
scoreAViolinI = \relative c'' {
\global
% Music follows here.
\repeat unfold 50 {c2(:32 ef2):32 }
}
scoreAViolinII = \relative c'' {
\global
% Music follows here.
\repeat unfold 50 {c2(:32 ef2):32 }
}
scoreAViola = \relative c' {
\global
% Music follows here.
\repeat unfold 50 {c2(:32 ef2):32 }
}
scoreACello = \relative c {
\global
% Music follows here.
\repeat unfold 50 {c2(:32 ef2):32 }
}
scoreAContrabass = \relative c {
\global
% Music follows here.
\repeat unfold 50 {c2(:32 ef2):32 }
}
scoreAFluteIPart = \new Staff \with {
instrumentName = "Flute I"
shortInstrumentName = "Fl. I"
} \scoreAFluteI
scoreAFluteIIPart = \new Staff \with {
instrumentName = "Flute II"
shortInstrumentName = "Fl. II"
} \scoreAFluteII
scoreAOboePart = \new Staff = "mainoboe" \with {
instrumentName = "Oboe"
shortInstrumentName = "Ob."
} \scoreAOboe
scoreABassoonPart = \new Staff \with {
instrumentName = "Bassoon"
shortInstrumentName = "Bn."
} { \clef bass \scoreABassoon }
scoreATrumpetCPart = \new Staff \with {
instrumentName = "Trumpet in C"
shortInstrumentName = "Tr.C."
} \scoreATrumpetC
scoreATrombonePart = \new Staff \with {
instrumentName = "Trombone"
shortInstrumentName = "Trb."
} { \clef bass \scoreATrombone }
scoreAViolinIPart = \new Staff \with {
instrumentName = "Violin I"
shortInstrumentName = "Vl. I"
} \scoreAViolinI
scoreAViolinIIPart = \new Staff \with {
instrumentName = "Violin II"
shortInstrumentName = "Vl. II"
} \scoreAViolinII
scoreAViolaPart = \new Staff \with {
instrumentName = "Viola"
shortInstrumentName = "Vla."
} { \clef alto \scoreAViola }
scoreACelloPart = \new Staff \with {
instrumentName = "Cello"
shortInstrumentName = "Cl."
} { \clef bass \scoreACello }
scoreAContrabassPart = \new Staff \with {
instrumentName = "Contrabass"
shortInstrumentName = "Cb."
} { \clef bass \scoreAContrabass }
\score {
<<
\new StaffGroup <<
\scoreAFluteIPart
\scoreAFluteIIPart
\scoreAOboePart
\scoreABassoonPart
>>
\new StaffGroup <<
\scoreATrumpetCPart
\scoreATrombonePart
>>
\new StaffGroup <<
\scoreAViolinIPart
\scoreAViolinIIPart
\scoreAViolaPart
\scoreACelloPart
\scoreAContrabassPart
>>
>>
\layout { }
}
\paper {
right-margin = 7\mm
left-margin = 21\mm
}
--
Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html
- How do you add this staff group bracket?,
Reggie <=