1 %% Do not edit this file; it is auto-generated from input/new
2 %% This file is in the public domain.
6 Los «incipit» se pueden escribir utilizando el grob del nombre del
7 instruemento, pero manteniendo independientes las definiciones del
8 nombre del instrumento y del incipit."
10 doctitlees = "Incipit"
12 lsrtags = "staff-notation,ancient-notation"
13 texidoc = "Incipits can be added using the instrument name grob, but
14 keeping separate the instrument name definition and the incipit definition."
19 #(define-music-function (parser location incipit-music) (ly:music?)
21 \once \override Staff.InstrumentName #'self-alignment-X = #RIGHT
22 \once \override Staff.InstrumentName #'self-alignment-Y = #UP
23 \once \override Staff.InstrumentName #'Y-offset = #4
24 \once \override Staff.InstrumentName #'padding = #0.3
25 \once \override Staff.InstrumentName #'stencil =
27 (let* ((instrument-name (ly:grob-property grob 'long-text))
28 (layout (ly:output-def-clone (ly:grob-layout grob)))
29 (music (make-music 'SequentialMusic
30 'elements (list (make-music 'ContextSpeccedMusic
31 'context-type 'MensuralStaff
32 'element (make-music 'PropertySet
33 'symbol 'instrumentName
34 'value instrument-name))
36 (score (ly:make-score music))
37 (mm (ly:output-def-lookup layout 'mm))
38 (indent (ly:output-def-lookup layout 'indent))
39 (width (ly:output-def-lookup layout 'incipit-width))
40 (incipit-width (if (number? width)
43 (ly:output-def-set-variable! layout 'indent (- indent incipit-width))
44 (ly:output-def-set-variable! layout 'line-width indent)
45 (ly:output-def-set-variable! layout 'ragged-right #f)
46 (ly:output-def-set-variable! layout 'ragged-last #f)
47 (ly:output-def-set-variable! layout 'system-count 1)
48 (ly:score-add-output-def! score layout)
49 (set! (ly:grob-property grob 'long-text)
50 (markup #:score score))
51 (ly:system-start-text::print grob)))
54 %%%%%%%%%%%%%%%%%%%%%%%%%
57 \set Score.skipBars = ##t
61 %make the staff lines invisible on staves
62 \override Staff.BarLine #'transparent = ##t
66 % let finis bar go through all staves
67 \override Staff.BarLine #'transparent = ##f
74 \new MensuralVoice = "discantusIncipit" <<
75 \repeat unfold 9 { s1 \noBreak }
77 \clef "neomensural-c1"
83 \new Lyrics \lyricsto discantusIncipit { IV- }
94 \once \override NoteHead #'transparent = ##t
100 discantusLyrics = \lyricmode {
111 \new MensuralVoice = "altusIncipit" <<
112 \repeat unfold 9 { s1 \noBreak }
114 \clef "neomensural-c3"
120 \new Lyrics \lyricsto altusIncipit { IV- }
129 fis g4.( fis16 e fis4) |
131 \once \override NoteHead #'transparent = ##t
137 altusLyrics = \lyricmode {
139 Ju -- bi -- la -- te |
147 \new MensuralVoice = "tenorIncipit" <<
148 \repeat unfold 9 { s1 \noBreak }
150 \clef "neomensural-c4"
158 \new Lyrics \lyricsto tenorIncipit { IV- }
163 \once \override Staff.VerticalAxisGroup #'minimum-Y-extent = #'(-6 . 3)
170 \once \override NoteHead #'transparent = ##t
176 tenorLyrics = \lyricmode {
178 Ju -- bi -- la -- te |
184 \new MensuralVoice = "bassusIncipit" <<
185 \repeat unfold 9 { s1 \noBreak }
195 \new Lyrics \lyricsto bassusIncipit { IV- }
206 \once \override NoteHead #'transparent = ##t
212 bassusLyrics = \lyricmode {
220 \new StaffGroup = choirStaff <<
221 \new Voice = "discantusNotes" <<
223 \set Staff.instrumentName = #"Discantus"
224 \incipit \discantusIncipit
227 \new Lyrics = "discantusLyrics" \lyricsto discantusNotes { \discantusLyrics }
228 \new Voice = "altusNotes" <<
230 \set Staff.instrumentName = #"Altus"
231 \incipit \altusIncipit
234 \new Lyrics = "altusLyrics" \lyricsto altusNotes { \altusLyrics }
235 \new Voice = "tenorNotes" <<
237 \set Staff.instrumentName = #"Tenor"
238 \incipit \tenorIncipit
241 \new Lyrics = "tenorLyrics" \lyricsto tenorNotes { \tenorLyrics }
242 \new Voice = "bassusNotes" <<
244 \set Staff.instrumentName = #"Bassus"
245 \incipit \bassusIncipit
249 \new Lyrics = "bassusLyrics" \lyricsto bassusNotes { \bassusLyrics }
250 %% Keep the bass lyrics outside of the staff group to avoid bar lines
251 %% between the lyrics.
256 %% no bar lines in staves
257 \override BarLine #'transparent = ##t
259 %% the next three instructions keep the lyrics between the bar lines
262 \consists "Bar_engraver"
263 \override BarLine #'transparent = ##t
267 \consists "Separating_line_group_engraver"
272 \override Slur #'transparent = ##t
273 %% Comment in the below "\remove" command to allow line
274 %% breaking also at those bar lines where a note overlaps
275 %% into the next measure. The command is commented out in this
276 %% short example score, but especially for large scores, you
277 %% will typically yield better line breaking and thus improve
278 %% overall spacing if you comment in the following command.
279 %%\remove "Forbid_line_break_engraver"