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."
20 #(define-music-function (parser location incipit-music) (ly:music?)
22 \once \override Staff.InstrumentName #'self-alignment-X = #RIGHT
23 \once \override Staff.InstrumentName #'self-alignment-Y = #UP
24 \once \override Staff.InstrumentName #'Y-offset = #4
25 \once \override Staff.InstrumentName #'padding = #0.3
26 \once \override Staff.InstrumentName #'stencil =
28 (let* ((instrument-name (ly:grob-property grob 'long-text))
29 (layout (ly:output-def-clone (ly:grob-layout grob)))
30 (music (make-music 'SequentialMusic
31 'elements (list (make-music 'ContextSpeccedMusic
32 'context-type 'MensuralStaff
33 'element (make-music 'PropertySet
34 'symbol 'instrumentName
35 'value instrument-name))
37 (score (ly:make-score music))
38 (mm (ly:output-def-lookup layout 'mm))
39 (indent (ly:output-def-lookup layout 'indent))
40 (width (ly:output-def-lookup layout 'incipit-width))
41 (incipit-width (if (number? width)
44 (ly:output-def-set-variable! layout 'indent (- indent incipit-width))
45 (ly:output-def-set-variable! layout 'line-width indent)
46 (ly:output-def-set-variable! layout 'ragged-right #f)
47 (ly:output-def-set-variable! layout 'ragged-last #f)
48 (ly:output-def-set-variable! layout 'system-count 1)
49 (ly:score-add-output-def! score layout)
50 (ly:grob-set-property! grob 'long-text
51 (markup #:score score))
52 (ly:system-start-text::print grob)))
55 %%%%%%%%%%%%%%%%%%%%%%%%%
58 \set Score.skipBars = ##t
65 % let finis bar go through all staves
66 \override Staff.BarLine #'transparent = ##f
73 \new MensuralVoice = "discantusIncipit" <<
74 \repeat unfold 9 { s1 \noBreak }
76 \clef "neomensural-c1"
82 \new Lyrics \lyricsto discantusIncipit { IV- }
93 \once \override NoteHead #'transparent = ##t
99 discantusLyrics = \lyricmode {
110 \new MensuralVoice = "altusIncipit" <<
111 \repeat unfold 9 { s1 \noBreak }
113 \clef "neomensural-c3"
119 \new Lyrics \lyricsto altusIncipit { IV- }
128 fis g4.( fis16 e fis4) |
130 \once \override NoteHead #'transparent = ##t
136 altusLyrics = \lyricmode {
138 Ju -- bi -- la -- te |
146 \new MensuralVoice = "tenorIncipit" <<
147 \repeat unfold 9 { s1 \noBreak }
149 \clef "neomensural-c4"
157 \new Lyrics \lyricsto tenorIncipit { IV- }
162 \once \override Staff.VerticalAxisGroup #'minimum-Y-extent = #'(-6 . 3)
169 \once \override NoteHead #'transparent = ##t
175 tenorLyrics = \lyricmode {
177 Ju -- bi -- la -- te |
183 \new MensuralVoice = "bassusIncipit" <<
184 \repeat unfold 9 { s1 \noBreak }
194 \new Lyrics \lyricsto bassusIncipit { IV- }
205 \once \override NoteHead #'transparent = ##t
211 bassusLyrics = \lyricmode {
219 \new StaffGroup = choirStaff <<
220 \new Voice = "discantusNotes" <<
222 \set Staff.instrumentName = #"Discantus"
223 \incipit \discantusIncipit
226 \new Lyrics = "discantusLyrics" \lyricsto discantusNotes { \discantusLyrics }
227 \new Voice = "altusNotes" <<
229 \set Staff.instrumentName = #"Altus"
230 \incipit \altusIncipit
233 \new Lyrics = "altusLyrics" \lyricsto altusNotes { \altusLyrics }
234 \new Voice = "tenorNotes" <<
236 \set Staff.instrumentName = #"Tenor"
237 \incipit \tenorIncipit
240 \new Lyrics = "tenorLyrics" \lyricsto tenorNotes { \tenorLyrics }
241 \new Voice = "bassusNotes" <<
243 \set Staff.instrumentName = #"Bassus"
244 \incipit \bassusIncipit
247 \new Lyrics = "bassusLyrics" \lyricsto bassusNotes { \bassusLyrics }
253 %% no bar lines in staves or lyrics
254 \override BarLine #'transparent = ##t
256 %% the next two instructions keep the lyrics between the bar lines
259 \consists "Bar_engraver"
260 \consists "Separating_line_group_engraver"
265 \override Slur #'transparent = ##t
266 %% Comment in the below "\remove" command to allow line
267 %% breaking also at those bar lines where a note overlaps
268 %% into the next measure. The command is commented out in this
269 %% short example score, but especially for large scores, you
270 %% will typically yield better line breaking and thus improve
271 %% overall spacing if you comment in the following command.
272 %%\remove "Forbid_line_break_engraver"