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
56 \skip 1*8 % the actual music
58 % let finis bar go through all staves
59 \override Staff.BarLine #'transparent = ##f
66 \new MensuralVoice = discantusIncipit <<
67 \repeat unfold 9 { s1 \noBreak }
69 \clef "neomensural-c1"
75 \new Lyrics \lyricsto discantusIncipit { IV- }
86 \once \override NoteHead #'transparent = ##t c'1 |
91 discantusLyrics = \lyricmode {
102 \new MensuralVoice = altusIncipit <<
103 \repeat unfold 9 { s1 \noBreak }
105 \clef "neomensural-c3"
111 \new Lyrics \lyricsto altusIncipit { IV- }
117 r2 g2. e4 fis g | % two bars
119 fis g4.( fis16 e fis4) |
121 \once \override NoteHead #'transparent = ##t g1 |
126 altusLyrics = \lyricmode {
127 Ju -- bi -- la -- te | % two bars
135 \new MensuralVoice = tenorIncipit <<
136 \repeat unfold 9 { s1 \noBreak }
138 \clef "neomensural-c4"
146 \new Lyrics \lyricsto tenorIncipit { IV- }
151 \once \override Staff.VerticalAxisGroup #'minimum-Y-extent = #'(-6 . 3)
156 r2 d'2. d'4 b e' | % two bars
157 \once \override NoteHead #'transparent = ##t e'1 |
162 tenorLyrics = \lyricmode {
163 Ju -- bi -- la -- te | % two bars
169 \new MensuralVoice = bassusIncipit <<
170 \repeat unfold 9 { s1 \noBreak }
180 \new Lyrics \lyricsto bassusIncipit { IV- }
191 \once \override NoteHead #'transparent = ##t e1 |
196 bassusLyrics = \lyricmode {
204 \new StaffGroup = choirStaff <<
205 \new Voice = "discantusNotes" <<
207 \set Staff.instrumentName = "Discantus"
208 \incipit \discantusIncipit
211 \new Lyrics = "discantusLyrics" \lyricsto discantusNotes { \discantusLyrics }
212 \new Voice = "altusNotes" <<
214 \set Staff.instrumentName = "Altus"
215 \incipit \altusIncipit
218 \new Lyrics = "altusLyrics" \lyricsto altusNotes { \altusLyrics }
219 \new Voice = "tenorNotes" <<
221 \set Staff.instrumentName = "Tenor"
222 \incipit \tenorIncipit
225 \new Lyrics = "tenorLyrics" \lyricsto tenorNotes { \tenorLyrics }
226 \new Voice = "bassusNotes" <<
227 \set Staff.instrumentName = "Bassus"
228 \incipit \bassusIncipit
232 \new Lyrics = "bassusLyrics" \lyricsto bassusNotes { \bassusLyrics }
233 %% Keep the bass lyrics outside of the staff group to avoid bar lines
234 %% between the lyrics.
240 \override BarLine #'transparent = ##t
242 %% the next three instructions keep the lyrics between the barlines
245 \consists "Bar_engraver"
246 \override BarLine #'transparent = ##t
248 \context { \StaffGroup \consists "Separating_line_group_engraver" }
252 \override Slur #'transparent = ##t
253 %% Comment in the below "\remove" command to allow line
254 %% breaking also at those barlines where a note overlaps
255 %% into the next bar. The command is commented out in this
256 %% short example score, but especially for large scores, you
257 %% will typically yield better line breaking and thus improve
258 %% overall spacing if you comment in the following command.
259 %%\remove "Forbid_line_break_engraver"