4 lsrtags = "staff-notation, ancient-notation, really-cool"
6 Incipits can be added using the instrument name grob, but keeping
7 separate the instrument name definition and the incipit definition.
13 #(define-music-function (parser location incipit-music) (ly:music?)
15 \once \override Staff.InstrumentName.self-alignment-X = #RIGHT
16 \once \override Staff.InstrumentName.self-alignment-Y = ##f
17 \once \override Staff.InstrumentName.padding = #0.3
18 \once \override Staff.InstrumentName.stencil =
20 (let* ((instrument-name (ly:grob-property grob 'long-text)))
21 (set! (ly:grob-property grob 'long-text)
25 { \context MensuralStaff \with {
26 instrumentName = #instrument-name
29 \layout { $(ly:grob-layout grob)
32 % primitive-eval is probably easiest for
33 % escaping lexical closure and evaluating
34 % everything respective to (current-module).
36 '(or (false-if-exception (- indent incipit-width))
43 (system-start-text::print grob)))
46 %%%%%%%%%%%%%%%%%%%%%%%%%
49 \set Score.skipBars = ##t
56 % let finis bar go through all staves
57 \override Staff.BarLine.transparent = ##f
64 \new MensuralVoice = "discantusIncipit" <<
65 \repeat unfold 9 { s1 \noBreak }
67 \clef "neomensural-c1"
73 \new Lyrics \lyricsto discantusIncipit { IV- }
90 discantusLyrics = \lyricmode {
101 \new MensuralVoice = "altusIncipit" <<
102 \repeat unfold 9 { s1 \noBreak }
104 \clef "neomensural-c3"
110 \new Lyrics \lyricsto altusIncipit { IV- }
119 fis g4.( fis16 e fis4) |
127 altusLyrics = \lyricmode {
129 Ju -- bi -- la -- te |
137 \new MensuralVoice = "tenorIncipit" <<
138 \repeat unfold 9 { s1 \noBreak }
140 \clef "neomensural-c4"
148 \new Lyrics \lyricsto tenorIncipit { IV- }
165 tenorLyrics = \lyricmode {
167 Ju -- bi -- la -- te |
173 \new MensuralVoice = "bassusIncipit" <<
174 \repeat unfold 9 { s1 \noBreak }
184 \new Lyrics \lyricsto bassusIncipit { IV- }
201 bassusLyrics = \lyricmode {
209 \new StaffGroup = choirStaff <<
210 \new Voice = "discantusNotes" <<
212 \set Staff.instrumentName = #"Discantus"
213 \incipit \discantusIncipit
216 \new Lyrics = "discantusLyrics" \lyricsto discantusNotes { \discantusLyrics }
217 \new Voice = "altusNotes" <<
219 \set Staff.instrumentName = #"Altus"
220 \incipit \altusIncipit
223 \new Lyrics = "altusLyrics" \lyricsto altusNotes { \altusLyrics }
224 \new Voice = "tenorNotes" <<
226 \set Staff.instrumentName = #"Tenor"
227 \incipit \tenorIncipit
230 \new Lyrics = "tenorLyrics" \lyricsto tenorNotes { \tenorLyrics }
231 \new Voice = "bassusNotes" <<
233 \set Staff.instrumentName = #"Bassus"
234 \incipit \bassusIncipit
237 \new Lyrics = "bassusLyrics" \lyricsto bassusNotes { \bassusLyrics }
243 %% no bar lines in staves or lyrics
246 %% the next two instructions keep the lyrics between the bar lines
249 \consists "Bar_engraver"
250 \consists "Separating_line_group_engraver"
256 %% Comment in the below "\remove" command to allow line
257 %% breaking also at those bar lines where a note overlaps
258 %% into the next measure. The command is commented out in this
259 %% short example score, but especially for large scores, you
260 %% will typically yield better line breaking and thus improve
261 %% overall spacing if you comment in the following command.
262 %%\remove "Forbid_line_break_engraver"