1 %% Do not edit this file; it is automatically
2 %% generated from LSR http://lsr.dsi.unimi.it
3 %% This file is in the public domain.
7 lsrtags = "staff-notation, ancient-notation"
9 %% Translation of GIT committish: b2d4318d6c53df8469dfa4da09b27c15a374d0ca
11 Los «incipit» se pueden escribir utilizando el grob del nombre del
12 instruemento, pero manteniendo independientes las definiciones del
13 nombre del instrumento y del incipit."
15 doctitlees = "Incipit"
18 Incipits can be added using the instrument name grob, but keeping
19 separate the instrument name definition and the incipit definition.
26 #(define-music-function (parser location incipit-music) (ly:music?)
28 \once \override Staff.InstrumentName #'self-alignment-X = #RIGHT
29 \once \override Staff.InstrumentName #'self-alignment-Y = #UP
30 \once \override Staff.InstrumentName #'Y-offset = #4
31 \once \override Staff.InstrumentName #'padding = #0.3
32 \once \override Staff.InstrumentName #'stencil =
34 (let* ((instrument-name (ly:grob-property grob 'long-text))
35 (layout (ly:output-def-clone (ly:grob-layout grob)))
36 (music (make-music 'SequentialMusic
37 'elements (list (make-music 'ContextSpeccedMusic
38 'context-type 'MensuralStaff
39 'element (make-music 'PropertySet
40 'symbol 'instrumentName
41 'value instrument-name))
43 (score (ly:make-score music))
44 (mm (ly:output-def-lookup layout 'mm))
45 (indent (ly:output-def-lookup layout 'indent))
46 (width (ly:output-def-lookup layout 'incipit-width))
47 (incipit-width (if (number? width)
50 (ly:output-def-set-variable! layout 'indent (- indent incipit-width))
51 (ly:output-def-set-variable! layout 'line-width indent)
52 (ly:output-def-set-variable! layout 'ragged-right #f)
53 (ly:output-def-set-variable! layout 'ragged-last #f)
54 (ly:output-def-set-variable! layout 'system-count 1)
55 (ly:score-add-output-def! score layout)
56 (ly:grob-set-property! grob 'long-text
57 (markup #:score score))
58 (ly:system-start-text::print grob)))
61 %%%%%%%%%%%%%%%%%%%%%%%%%
64 \set Score.skipBars = ##t
71 % let finis bar go through all staves
72 \override Staff.BarLine #'transparent = ##f
79 \new MensuralVoice = "discantusIncipit" <<
80 \repeat unfold 9 { s1 \noBreak }
82 \clef "neomensural-c1"
88 \new Lyrics \lyricsto discantusIncipit { IV- }
99 \once \override NoteHead #'transparent = ##t
105 discantusLyrics = \lyricmode {
116 \new MensuralVoice = "altusIncipit" <<
117 \repeat unfold 9 { s1 \noBreak }
119 \clef "neomensural-c3"
125 \new Lyrics \lyricsto altusIncipit { IV- }
134 fis g4.( fis16 e fis4) |
136 \once \override NoteHead #'transparent = ##t
142 altusLyrics = \lyricmode {
144 Ju -- bi -- la -- te |
152 \new MensuralVoice = "tenorIncipit" <<
153 \repeat unfold 9 { s1 \noBreak }
155 \clef "neomensural-c4"
163 \new Lyrics \lyricsto tenorIncipit { IV- }
168 \once \override Staff.VerticalAxisGroup #'minimum-Y-extent = #'(-6 . 3)
175 \once \override NoteHead #'transparent = ##t
181 tenorLyrics = \lyricmode {
183 Ju -- bi -- la -- te |
189 \new MensuralVoice = "bassusIncipit" <<
190 \repeat unfold 9 { s1 \noBreak }
200 \new Lyrics \lyricsto bassusIncipit { IV- }
211 \once \override NoteHead #'transparent = ##t
217 bassusLyrics = \lyricmode {
225 \new StaffGroup = choirStaff <<
226 \new Voice = "discantusNotes" <<
228 \set Staff.instrumentName = #"Discantus"
229 \incipit \discantusIncipit
232 \new Lyrics = "discantusLyrics" \lyricsto discantusNotes { \discantusLyrics }
233 \new Voice = "altusNotes" <<
235 \set Staff.instrumentName = #"Altus"
236 \incipit \altusIncipit
239 \new Lyrics = "altusLyrics" \lyricsto altusNotes { \altusLyrics }
240 \new Voice = "tenorNotes" <<
242 \set Staff.instrumentName = #"Tenor"
243 \incipit \tenorIncipit
246 \new Lyrics = "tenorLyrics" \lyricsto tenorNotes { \tenorLyrics }
247 \new Voice = "bassusNotes" <<
249 \set Staff.instrumentName = #"Bassus"
250 \incipit \bassusIncipit
253 \new Lyrics = "bassusLyrics" \lyricsto bassusNotes { \bassusLyrics }
259 %% no bar lines in staves or lyrics
260 \override BarLine #'transparent = ##t
262 %% the next two instructions keep the lyrics between the bar lines
265 \consists "Bar_engraver"
266 \consists "Separating_line_group_engraver"
271 \override Slur #'transparent = ##t
272 %% Comment in the below "\remove" command to allow line
273 %% breaking also at those bar lines where a note overlaps
274 %% into the next measure. The command is commented out in this
275 %% short example score, but especially for large scores, you
276 %% will typically yield better line breaking and thus improve
277 %% overall spacing if you comment in the following command.
278 %%\remove "Forbid_line_break_engraver"