I'm editing the Mozart's Ave Verum for a college work.
As there are many instruments and voices, i tried to organize things separating notes from staff and layout information, but i don't know how to insert lyrics in such organizational structure.
\version "2.18.2"
\header {
title = "Ave Verum"
composer = "W. A. Mozart"
}
global = {
\key d \major
\time 2/2
\tempo "Adagio."
\repeat unfold 18 { s1*2/2 | }
\bar "|"
}
vlnOne = \relative c'' {
}
vlnTwo = \relative c'' {
}
vla = \relative c'' {
\clef alto
}
sop = \relative c''{
}
alt = \relative c''{
}
ten = \relative c''{
\clef "treble_8"
}
bass = \relative c' {
}
dbo = \relative c' {
\clef bass
}
\book {
\score {
\new StaffGroup <<
\new GrandStaff <<
\new Staff \with { instrumentName = #"Violino I." } << \global \vlnOne >>
\new Staff \with { instrumentName = #"Violino II." } << \global \vlnTwo >>
>>
\new Staff \with { instrumentName = #"Viola." } << \global \vla >>
\new StaffGroup <<
\new Staff \with { instrumentName = \markup {\bold #"Soprano." }} << \global \sop >>
\new Staff \with { instrumentName = \markup {\bold #"Alto." }} << \global \alt >>
\new Staff \with { instrumentName = \markup {\bold #"Tenore." }} << \global \ten >>
\new Staff \with { instrumentName = \markup {\bold #"Basso." }} << \global \bass >>
>>
\new Staff \with { instrumentName = #"Basso ed Organo." } << \global \dbo >>
>>
}
}