1 %% Do not edit this file; it is auto-generated from input/new
2 %% This file is in the public domain.
5 lsrtags = "staff-notation,ancient-notation"
6 texidoc = "Incipits can be added using the instrument name grob, but
7 keeping separate the instrument name definition and the incipit definition."
12 #(define-music-function (parser location incipit-music) (ly:music?)
14 \once \override Staff.InstrumentName #'self-alignment-X = #RIGHT
15 \once \override Staff.InstrumentName #'self-alignment-Y = #UP
16 \once \override Staff.InstrumentName #'Y-offset = #4
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 (layout (ly:output-def-clone (ly:grob-layout grob)))
22 (music (make-music 'SequentialMusic
23 'elements (list (make-music 'ContextSpeccedMusic
24 'context-type 'MensuralStaff
25 'element (make-music 'PropertySet
26 'symbol 'instrumentName
27 'value instrument-name))
29 (score (ly:make-score music))
30 (mm (ly:output-def-lookup layout 'mm))
31 (indent (ly:output-def-lookup layout 'indent))
32 (width (ly:output-def-lookup layout 'incipit-width))
33 (incipit-width (if (number? width)
36 (ly:output-def-set-variable! layout 'indent (- indent incipit-width))
37 (ly:output-def-set-variable! layout 'line-width indent)
38 (ly:output-def-set-variable! layout 'ragged-right #f)
39 (ly:output-def-set-variable! layout 'ragged-last #f)
40 (ly:output-def-set-variable! layout 'system-count 1)
41 (ly:score-add-output-def! score layout)
42 (set! (ly:grob-property grob 'long-text)
43 (markup #:score score))
44 (ly:system-start-text::print grob)))
47 %%%%%%%%%%%%%%%%%%%%%%%%%
50 \set Score.skipBars = ##t
54 %make the staff lines invisible on staves
55 \override Staff.BarLine #'transparent = ##t
59 % let finis bar go through all staves
60 \override Staff.BarLine #'transparent = ##f
67 \new MensuralVoice = discantusIncipit <<
68 \repeat unfold 9 { s1 \noBreak }
70 \clef "neomensural-c1"
76 \new Lyrics \lyricsto discantusIncipit { IV- }
87 \once \override NoteHead #'transparent = ##t
93 discantusLyrics = \lyricmode {
104 \new MensuralVoice = altusIncipit <<
105 \repeat unfold 9 { s1 \noBreak }
107 \clef "neomensural-c3"
113 \new Lyrics \lyricsto altusIncipit { IV- }
122 fis g4.( fis16 e fis4) |
124 \once \override NoteHead #'transparent = ##t
130 altusLyrics = \lyricmode {
132 Ju -- bi -- la -- te |
140 \new MensuralVoice = tenorIncipit <<
141 \repeat unfold 9 { s1 \noBreak }
143 \clef "neomensural-c4"
151 \new Lyrics \lyricsto tenorIncipit { IV- }
156 \once \override Staff.VerticalAxisGroup #'minimum-Y-extent = #'(-6 . 3)
163 \once \override NoteHead #'transparent = ##t
169 tenorLyrics = \lyricmode {
171 Ju -- bi -- la -- te |
177 \new MensuralVoice = bassusIncipit <<
178 \repeat unfold 9 { s1 \noBreak }
188 \new Lyrics \lyricsto bassusIncipit { IV- }
199 \once \override NoteHead #'transparent = ##t
205 bassusLyrics = \lyricmode {
213 \new StaffGroup = choirStaff <<
214 \new Voice = "discantusNotes" <<
216 \set Staff.instrumentName = "Discantus"
217 \incipit \discantusIncipit
220 \new Lyrics = "discantusLyrics" \lyricsto discantusNotes { \discantusLyrics }
221 \new Voice = "altusNotes" <<
223 \set Staff.instrumentName = "Altus"
224 \incipit \altusIncipit
227 \new Lyrics = "altusLyrics" \lyricsto altusNotes { \altusLyrics }
228 \new Voice = "tenorNotes" <<
230 \set Staff.instrumentName = "Tenor"
231 \incipit \tenorIncipit
234 \new Lyrics = "tenorLyrics" \lyricsto tenorNotes { \tenorLyrics }
235 \new Voice = "bassusNotes" <<
236 \set Staff.instrumentName = "Bassus"
237 \incipit \bassusIncipit
241 \new Lyrics = "bassusLyrics" \lyricsto bassusNotes { \bassusLyrics }
242 %% Keep the bass lyrics outside of the staff group to avoid bar lines
243 %% between the lyrics.
248 %% no bar lines in staves
249 \override BarLine #'transparent = ##t
251 %% the next three instructions keep the lyrics between the bar lines
254 \consists "Bar_engraver"
255 \override BarLine #'transparent = ##t
259 \consists "Separating_line_group_engraver"
264 \override Slur #'transparent = ##t
265 %% Comment in the below "\remove" command to allow line
266 %% breaking also at those bar lines where a note overlaps
267 %% into the next measure. The command is commented out in this
268 %% short example score, but especially for large scores, you
269 %% will typically yield better line breaking and thus improve
270 %% overall spacing if you comment in the following command.
271 %%\remove "Forbid_line_break_engraver"