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 = #UP
17 \once \override Staff.InstrumentName #'Y-offset =
19 (+ 4 (system-start-text::calc-y-offset grob)))
20 \once \override Staff.InstrumentName #'padding = #0.3
21 \once \override Staff.InstrumentName #'stencil =
23 (let* ((instrument-name (ly:grob-property grob 'long-text)))
24 (set! (ly:grob-property grob 'long-text)
28 { \context MensuralStaff \with {
29 instrumentName = #instrument-name
30 \override VerticalAxisGroup
31 #'Y-extent = #'(-4 . 4)
34 \layout { $(ly:grob-layout grob)
37 % primitive-eval is probably easiest for
38 % escaping lexical closure and evaluating
39 % everything respective to (current-module).
41 '(or (false-if-exception (- indent (* mm incipit-width)))
48 (system-start-text::print grob)))
51 %%%%%%%%%%%%%%%%%%%%%%%%%
54 \set Score.skipBars = ##t
61 % let finis bar go through all staves
62 \override Staff.BarLine #'transparent = ##f
69 \new MensuralVoice = "discantusIncipit" <<
70 \repeat unfold 9 { s1 \noBreak }
72 \clef "neomensural-c1"
78 \new Lyrics \lyricsto discantusIncipit { IV- }
89 \once \override NoteHead #'transparent = ##t
95 discantusLyrics = \lyricmode {
106 \new MensuralVoice = "altusIncipit" <<
107 \repeat unfold 9 { s1 \noBreak }
109 \clef "neomensural-c3"
115 \new Lyrics \lyricsto altusIncipit { IV- }
124 fis g4.( fis16 e fis4) |
126 \once \override NoteHead #'transparent = ##t
132 altusLyrics = \lyricmode {
134 Ju -- bi -- la -- te |
142 \new MensuralVoice = "tenorIncipit" <<
143 \repeat unfold 9 { s1 \noBreak }
145 \clef "neomensural-c4"
153 \new Lyrics \lyricsto tenorIncipit { IV- }
164 \once \override NoteHead #'transparent = ##t
170 tenorLyrics = \lyricmode {
172 Ju -- bi -- la -- te |
178 \new MensuralVoice = "bassusIncipit" <<
179 \repeat unfold 9 { s1 \noBreak }
189 \new Lyrics \lyricsto bassusIncipit { IV- }
200 \once \override NoteHead #'transparent = ##t
206 bassusLyrics = \lyricmode {
214 \new StaffGroup = choirStaff <<
215 \new Voice = "discantusNotes" <<
217 \set Staff.instrumentName = #"Discantus"
218 \incipit \discantusIncipit
221 \new Lyrics = "discantusLyrics" \lyricsto discantusNotes { \discantusLyrics }
222 \new Voice = "altusNotes" <<
224 \set Staff.instrumentName = #"Altus"
225 \incipit \altusIncipit
228 \new Lyrics = "altusLyrics" \lyricsto altusNotes { \altusLyrics }
229 \new Voice = "tenorNotes" <<
231 \set Staff.instrumentName = #"Tenor"
232 \incipit \tenorIncipit
235 \new Lyrics = "tenorLyrics" \lyricsto tenorNotes { \tenorLyrics }
236 \new Voice = "bassusNotes" <<
238 \set Staff.instrumentName = #"Bassus"
239 \incipit \bassusIncipit
242 \new Lyrics = "bassusLyrics" \lyricsto bassusNotes { \bassusLyrics }
248 %% no bar lines in staves or lyrics
249 \override BarLine #'transparent = ##t
251 %% the next two instructions keep the lyrics between the bar lines
254 \consists "Bar_engraver"
255 \consists "Separating_line_group_engraver"
260 \override Slur #'transparent = ##t
261 %% Comment in the below "\remove" command to allow line
262 %% breaking also at those bar lines where a note overlaps
263 %% into the next measure. The command is commented out in this
264 %% short example score, but especially for large scores, you
265 %% will typically yield better line breaking and thus improve
266 %% overall spacing if you comment in the following command.
267 %%\remove "Forbid_line_break_engraver"