1 %% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
2 %% This file is in the public domain.
6 lsrtags = "staff-notation, ancient-notation"
8 %% Translation of GIT committish: aea975539ec44fd0f1a8fd25930b88b5ab64b53a
10 Los «incipit» se pueden escribir utilizando el grob del nombre del
11 instruemento, pero manteniendo independientes las definiciones del
12 nombre del instrumento y del incipit."
14 doctitlees = "Incipit"
17 Incipits can be added using the instrument name grob, but keeping
18 separate the instrument name definition and the incipit definition.
25 #(define-music-function (parser location incipit-music) (ly:music?)
27 \once \override Staff.InstrumentName #'self-alignment-X = #RIGHT
28 \once \override Staff.InstrumentName #'self-alignment-Y = #UP
29 \once \override Staff.InstrumentName #'Y-offset = #4
30 \once \override Staff.InstrumentName #'padding = #0.3
31 \once \override Staff.InstrumentName #'stencil =
33 (let* ((instrument-name (ly:grob-property grob 'long-text))
34 (layout (ly:output-def-clone (ly:grob-layout grob)))
35 (music (make-music 'SequentialMusic
36 'elements (list (make-music 'ContextSpeccedMusic
37 'context-type 'MensuralStaff
38 'element (make-music 'PropertySet
39 'symbol 'instrumentName
40 'value instrument-name))
42 (score (ly:make-score music))
43 (mm (ly:output-def-lookup layout 'mm))
44 (indent (ly:output-def-lookup layout 'indent))
45 (width (ly:output-def-lookup layout 'incipit-width))
46 (incipit-width (if (number? width)
49 (ly:output-def-set-variable! layout 'indent (- indent incipit-width))
50 (ly:output-def-set-variable! layout 'line-width indent)
51 (ly:output-def-set-variable! layout 'ragged-right #f)
52 (ly:output-def-set-variable! layout 'ragged-last #f)
53 (ly:output-def-set-variable! layout 'system-count 1)
54 (ly:score-add-output-def! score layout)
55 (ly:grob-set-property! grob 'long-text
56 (markup #:score score))
57 (ly:system-start-text::print grob)))
60 %%%%%%%%%%%%%%%%%%%%%%%%%
63 \set Score.skipBars = ##t
70 % let finis bar go through all staves
71 \override Staff.BarLine #'transparent = ##f
78 \new MensuralVoice = "discantusIncipit" <<
79 \repeat unfold 9 { s1 \noBreak }
81 \clef "neomensural-c1"
87 \new Lyrics \lyricsto discantusIncipit { IV- }
98 \once \override NoteHead #'transparent = ##t
104 discantusLyrics = \lyricmode {
115 \new MensuralVoice = "altusIncipit" <<
116 \repeat unfold 9 { s1 \noBreak }
118 \clef "neomensural-c3"
124 \new Lyrics \lyricsto altusIncipit { IV- }
133 fis g4.( fis16 e fis4) |
135 \once \override NoteHead #'transparent = ##t
141 altusLyrics = \lyricmode {
143 Ju -- bi -- la -- te |
151 \new MensuralVoice = "tenorIncipit" <<
152 \repeat unfold 9 { s1 \noBreak }
154 \clef "neomensural-c4"
162 \new Lyrics \lyricsto tenorIncipit { IV- }
167 \once \override Staff.VerticalAxisGroup #'minimum-Y-extent = #'(-6 . 3)
174 \once \override NoteHead #'transparent = ##t
180 tenorLyrics = \lyricmode {
182 Ju -- bi -- la -- te |
188 \new MensuralVoice = "bassusIncipit" <<
189 \repeat unfold 9 { s1 \noBreak }
199 \new Lyrics \lyricsto bassusIncipit { IV- }
210 \once \override NoteHead #'transparent = ##t
216 bassusLyrics = \lyricmode {
224 \new StaffGroup = choirStaff <<
225 \new Voice = "discantusNotes" <<
227 \set Staff.instrumentName = #"Discantus"
228 \incipit \discantusIncipit
231 \new Lyrics = "discantusLyrics" \lyricsto discantusNotes { \discantusLyrics }
232 \new Voice = "altusNotes" <<
234 \set Staff.instrumentName = #"Altus"
235 \incipit \altusIncipit
238 \new Lyrics = "altusLyrics" \lyricsto altusNotes { \altusLyrics }
239 \new Voice = "tenorNotes" <<
241 \set Staff.instrumentName = #"Tenor"
242 \incipit \tenorIncipit
245 \new Lyrics = "tenorLyrics" \lyricsto tenorNotes { \tenorLyrics }
246 \new Voice = "bassusNotes" <<
248 \set Staff.instrumentName = #"Bassus"
249 \incipit \bassusIncipit
252 \new Lyrics = "bassusLyrics" \lyricsto bassusNotes { \bassusLyrics }
258 %% no bar lines in staves or lyrics
259 \override BarLine #'transparent = ##t
261 %% the next two instructions keep the lyrics between the bar lines
264 \consists "Bar_engraver"
265 \consists "Separating_line_group_engraver"
270 \override Slur #'transparent = ##t
271 %% Comment in the below "\remove" command to allow line
272 %% breaking also at those bar lines where a note overlaps
273 %% into the next measure. The command is commented out in this
274 %% short example score, but especially for large scores, you
275 %% will typically yield better line breaking and thus improve
276 %% overall spacing if you comment in the following command.
277 %%\remove "Forbid_line_break_engraver"