\version "2.12.0" %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% layout to create orchestra staff group %% with non-spanned barlines between two instrument groups \layout { \context { \StaffGroup \name Orchestra \remove "Span_bar_engraver" } \context { \Score \accepts Orchestra } \context { \Staff \override Glissando #'breakable = ##t \override TextSpanner #'breakable = ##t \override DynamicSpanner #'breakable = ##t } } %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% Layout to produce SquareStaff context %% to group similar instruments in a staff group with thin square bracket \layout { \context { \StaffGroup \name SquareStaff systemStartDelimiter = #'SystemStartSquare } \context { \Orchestra \accepts SquareStaff } \context { \StaffGroup \accepts SquareStaff } } %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% Layout to produce MarkLine context %% to place rehearsal marks and texts above full score \layout { \context { \type "Engraver_group" \name "MarkLine" \consists "Output_property_engraver" \consists "Axis_group_engraver" \consists "Mark_engraver" \consists "Metronome_mark_engraver" \consists "Script_engraver" \consists "Text_engraver" \consists "Text_spanner_engraver" \consists "Font_size_engraver" \override VerticalAxisGroup #'minimum-Y-extent = #'(-2 . 2 ) \override TextSpanner #'breakable = ##t } \context { \Orchestra \accepts "MarkLine" } \context { \StaffGroup \accepts "MarkLine" } } %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% layout to produce a smaller markline %% put before 1st violin part \layout { \context { \MarkLine \name "SmallMarkLine" \override MetronomeMark #'outside-staff-priority = #800 \override RehearsalMark #'outside-staff-priority = #1200 } \context { \Orchestra \accepts SmallMarkLine } \context { \StaffGroup \accepts SmallMarkLine } } \score { \new Orchestra = "orchestra" << \set Score.skipBars = ##f \new MarkLine { s1^"Maestoso" | s \mark \default | s | } \new StaffGroup = "woodwind" << \new SquareStaff << \new Staff = "flutes" { \set Staff.instrumentName = "Piccolo" \set Staff.shortInstrumentName = "Picc." \relative c'' { \clef "treble" \key c \major \time 4/4 \transposition c'' c1 | d | e | } } \new Staff = "flutes" { \set Staff.instrumentName = "Flutes 1 - 3" \set Staff.shortInstrumentName = "Fl." \relative c'' { \clef "treble" \key c \major \time 4/4 1 | | | } } >> \new Staff = "oboes" { \set Staff.instrumentName = "Oboes 1 - 3" \set Staff.shortInstrumentName = "Ob." \relative c'' { \clef "treble" \key c \major \time 4/4 1 | | | } } \new Staff = "clarinets" { \set Staff.instrumentName = \markup { \column { \line { "Clarinets 1 - 3" } \line { "in B" \smaller \flat } } } \set Staff.shortInstrumentName = "Cl." \relative c' { \clef "treble" \key d \major \time 4/4 \transposition bes 1 | | | } } \new Staff = "bassoons" { \set Staff.instrumentName = "Bassoons 1 & 2" \set Staff.shortInstrumentName = "Bn." \relative c { \clef "bass" \key c \major \time 4/4 1 | | | } } >> \new StaffGroup = "brass" << \new SquareStaff = "horns" << \new Staff = "hornsI" { \set Staff.instrumentName = \markup { \column { \line { "Horn 1 & 3" } \line { "in F" } } } \set Staff.shortInstrumentName = "Hn. 1 & 3" \relative c'' { \clef "treble" \key g \major \time 4/4 \transposition f 1 | | | } } \new Staff = "hornsII" { \set Staff.instrumentName = \markup { \column { \line { "Horn 2 & 4" } \line { "in F" } } } \set Staff.shortInstrumentName = "Hn. 2 & 4" \relative c' { \clef "treble" \key g \major \time 4/4 \transposition f 1 | | | } } >> \new Staff = "trumpets" { \set Staff.instrumentName = \markup { \column { \line { "Trumpets 1 - 3" } \line { "in B" \smaller \flat } } } \set Staff.shortInstrumentName = "Tp." \relative c' { \clef "treble" \key d \major \time 4/4 \transposition bes 1 | | | } } \new SquareStaff = "trombones" << \new Staff = "tromboneI" { \set Staff.instrumentName = "Trombone 1" \set Staff.shortInstrumentName = "Tb.1" \relative c' { \clef "tenor" \key c \major \time 4/4 1 | | | } } \new Staff = "tromboneII" { \set Staff.instrumentName = "Trombones 2 & 3" \set Staff.shortInstrumentName = "Tb.23" \relative c { \clef "bass" \key c \major \time 4/4 c1 | g | c | } } >> \new Staff = "tuba" { \set Staff.instrumentName = "Tuba" \set Staff.shortInstrumentName = "Tu." \relative c' { \clef "bass" \key c \major \time 4/4 c1 | g | c | } } >> \new StaffGroup = "miselaneous" << \new Staff = "timpani" { \set Staff.instrumentName = "Timpani" \set Staff.shortInstrumentName = "Tim." \relative c { \clef "bass" \key c \major \time 4/4 c1 | g | c1:32 | } } \new SquareStaff = "percussion" << \new Staff = "percI" { \set Staff.instrumentName = "Percussion I" \set Staff.shortInstrumentName = "Perc. I" \relative c'' { \clef "percussion" \time 4/4 b1^"cym." | b | b | } } \new Staff = "percII" { \set Staff.instrumentName = "Percussion II" \set Staff.shortInstrumentName = "Perc. II" \relative c'' { \clef "percussion" \time 4/4 b1^"tri." | b | b:32 | } } \new Staff = "percIII" { \set Staff.instrumentName = "Percussion III" \set Staff.shortInstrumentName = "Perc. III" \relative c'' { \clef "percussion" \time 4/4 b4^"sn." r r2 | b4 r r2 | b1:32 | } } \new Staff = "percIV" { \set Staff.instrumentName = "Percussion IV" \set Staff.shortInstrumentName = "Perc. IV" \relative c'' { \clef "percussion" \time 4/4 b4^"bd." r r2 | b4 r r2 | b1:32 | } } >> \new PianoStaff = "harp" << \set PianoStaff.instrumentName = "Harp" \set PianoStaff.shortInstrumentName = "Hrp." \set PianoStaff.connectArpeggios = ##t \new Staff = "rh" { \relative c' { \clef "treble" \key c \major \time 4/4 1\arpeggio | \arpeggio | \arpeggio | } } \new Staff = "lh" { \relative c { \clef "bass" \key c \major \time 4/4 \arpeggio | \arpeggio | | } } >> >> \new ChoirStaff = "chorus" << \new Staff = "soprano" { \set Staff.instrumentName = "Soprano" \set Staff.shortInstrumentName = "S." << \new Voice = "sop" { \relative c'' { \clef "treble" \key c \major \time 4/4 c1 | d | e | } } \new Lyrics \lyricsto "sop" \lyricmode { do re mi } >> } \new Staff = "alto" { \set Staff.instrumentName = "Alto" \set Staff.shortInstrumentName = "A." << \new Voice = "alt" { \relative c' { \clef "treble" \key c \major \time 4/4 e1 | g | g | } } \new Lyrics \lyricsto "alt" \lyricmode { mi sol sol } >> } \new Staff = "tenor" { \set Staff.instrumentName = "Tenor" \set Staff.shortInstrumentName = "T." << \new Voice = "ten" { \relative c' { \clef "bass" \key c \major \time 4/4 g1 | b | c | } } \new Lyrics \lyricsto "ten" \lyricmode { sol si do } >> } \new Staff = "bass" { \set Staff.instrumentName = "Bass" \set Staff.shortInstrumentName = "B." << \new Voice = "bas" { \relative c { \clef "bass" \key c \major \time 4/4 c1 | g | c | } } \new Lyrics \lyricsto "bas" \lyricmode { do sol do } >> } >> \new SmallMarkLine { s1^"Maestoso" | s \mark \default | s | } \new StaffGroup = "strings" << \new SquareStaff = "violins" << \new Staff = "violin I" { \set Staff.instrumentName = "Violin I" \set Staff.shortInstrumentName = "Vn. I" \clef "treble" \key c \major \time 4/4 \relative c'' { 1 | | | } } \new Staff = "violin II" { \set Staff.instrumentName = "Violin II" \set Staff.shortInstrumentName = "Vn. II" \relative c' { \clef "treble" \key c \major \time 4/4 1 | | | } } >> \new Staff = "viola" { \set Staff.instrumentName = "Viola" \set Staff.shortInstrumentName = "Vl." \relative c' { \clef "alto" \key c \major \time 4/4 1 | | | } } \new SquareStaff = "Cello and Bass" << \new Staff = "violoncello" { \set Staff.instrumentName = "Violoncello" \set Staff.shortInstrumentName = "Vc." \relative c { \clef "bass" \key c \major \time 4/4 1 | | | } } \new Staff = "contrabass" { \set Staff.instrumentName = "Contrabass" \set Staff.shortInstrumentName = "Cb." \relative c { \clef "bass" \key c \major \time 4/4 \transposition c c1 | g | c | } } >> >> >> \layout { \context { \RemoveEmptyStaffContext } } }