1 %% Do not edit this file; it is auto-generated from input/new
2 %% This file is in the public domain.
3 %% Note: this file works from version 2.12.0
6 %% Translation of GIT committish: 740b9a6c16eb30a84b216d23aeb848aa1b632be6
8 Los «incipit» se pueden escribir utilizando el grob del nombre del
9 instruemento, pero manteniendo independientes las definiciones del
10 nombre del instrumento y del incipit."
12 doctitlees = "Incipit"
14 lsrtags = "staff-notation,ancient-notation"
15 texidoc = "Incipits can be added using the instrument name grob, but
16 keeping separate the instrument name definition and the incipit definition."
22 #(define-music-function (parser location incipit-music) (ly:music?)
24 \once \override Staff.InstrumentName #'self-alignment-X = #RIGHT
25 \once \override Staff.InstrumentName #'self-alignment-Y = #UP
26 \once \override Staff.InstrumentName #'Y-offset = #4
27 \once \override Staff.InstrumentName #'padding = #0.3
28 \once \override Staff.InstrumentName #'stencil =
30 (let* ((instrument-name (ly:grob-property grob 'long-text))
31 (layout (ly:output-def-clone (ly:grob-layout grob)))
32 (music (make-music 'SequentialMusic
33 'elements (list (make-music 'ContextSpeccedMusic
34 'context-type 'MensuralStaff
35 'element (make-music 'PropertySet
36 'symbol 'instrumentName
37 'value instrument-name))
39 (score (ly:make-score music))
40 (mm (ly:output-def-lookup layout 'mm))
41 (indent (ly:output-def-lookup layout 'indent))
42 (width (ly:output-def-lookup layout 'incipit-width))
43 (incipit-width (if (number? width)
46 (ly:output-def-set-variable! layout 'indent (- indent incipit-width))
47 (ly:output-def-set-variable! layout 'line-width indent)
48 (ly:output-def-set-variable! layout 'ragged-right #f)
49 (ly:output-def-set-variable! layout 'ragged-last #f)
50 (ly:output-def-set-variable! layout 'system-count 1)
51 (ly:score-add-output-def! score layout)
52 (ly:grob-set-property! grob 'long-text
53 (markup #:score score))
54 (ly:system-start-text::print grob)))
57 %%%%%%%%%%%%%%%%%%%%%%%%%
60 \set Score.skipBars = ##t
67 % let finis bar go through all staves
68 \override Staff.BarLine #'transparent = ##f
75 \new MensuralVoice = "discantusIncipit" <<
76 \repeat unfold 9 { s1 \noBreak }
78 \clef "neomensural-c1"
84 \new Lyrics \lyricsto discantusIncipit { IV- }
95 \once \override NoteHead #'transparent = ##t
101 discantusLyrics = \lyricmode {
112 \new MensuralVoice = "altusIncipit" <<
113 \repeat unfold 9 { s1 \noBreak }
115 \clef "neomensural-c3"
121 \new Lyrics \lyricsto altusIncipit { IV- }
130 fis g4.( fis16 e fis4) |
132 \once \override NoteHead #'transparent = ##t
138 altusLyrics = \lyricmode {
140 Ju -- bi -- la -- te |
148 \new MensuralVoice = "tenorIncipit" <<
149 \repeat unfold 9 { s1 \noBreak }
151 \clef "neomensural-c4"
159 \new Lyrics \lyricsto tenorIncipit { IV- }
164 \once \override Staff.VerticalAxisGroup #'minimum-Y-extent = #'(-6 . 3)
171 \once \override NoteHead #'transparent = ##t
177 tenorLyrics = \lyricmode {
179 Ju -- bi -- la -- te |
185 \new MensuralVoice = "bassusIncipit" <<
186 \repeat unfold 9 { s1 \noBreak }
196 \new Lyrics \lyricsto bassusIncipit { IV- }
207 \once \override NoteHead #'transparent = ##t
213 bassusLyrics = \lyricmode {
221 \new StaffGroup = choirStaff <<
222 \new Voice = "discantusNotes" <<
224 \set Staff.instrumentName = #"Discantus"
225 \incipit \discantusIncipit
228 \new Lyrics = "discantusLyrics" \lyricsto discantusNotes { \discantusLyrics }
229 \new Voice = "altusNotes" <<
231 \set Staff.instrumentName = #"Altus"
232 \incipit \altusIncipit
235 \new Lyrics = "altusLyrics" \lyricsto altusNotes { \altusLyrics }
236 \new Voice = "tenorNotes" <<
238 \set Staff.instrumentName = #"Tenor"
239 \incipit \tenorIncipit
242 \new Lyrics = "tenorLyrics" \lyricsto tenorNotes { \tenorLyrics }
243 \new Voice = "bassusNotes" <<
245 \set Staff.instrumentName = #"Bassus"
246 \incipit \bassusIncipit
249 \new Lyrics = "bassusLyrics" \lyricsto bassusNotes { \bassusLyrics }
255 %% no bar lines in staves or lyrics
256 \override BarLine #'transparent = ##t
258 %% the next two instructions keep the lyrics between the bar lines
261 \consists "Bar_engraver"
262 \consists "Separating_line_group_engraver"
267 \override Slur #'transparent = ##t
268 %% Comment in the below "\remove" command to allow line
269 %% breaking also at those bar lines where a note overlaps
270 %% into the next measure. The command is commented out in this
271 %% short example score, but especially for large scores, you
272 %% will typically yield better line breaking and thus improve
273 %% overall spacing if you comment in the following command.
274 %%\remove "Forbid_line_break_engraver"