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 (set
! (ly
:grob-property grob
'long-text
)
51 (markup
#:score score
))
52 (ly
:system-start-text
::print grob
)))
55 %%%%%%%%%%%%%%%%%%%%%%%%%
58 \set Score
.skipBars
= ##t
62 %make the staff lines invisible on staves
63 \override Staff
.BarLine
#'transparent
= ##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
250 \new Lyrics
= "bassusLyrics" \lyricsto bassusNotes
{ \bassusLyrics }
251 %% Keep the bass lyrics outside of the staff group to avoid bar lines
252 %% between the lyrics.
257 %% no bar lines in staves
258 \override BarLine
#'transparent
= ##t
260 %% the next three instructions keep the lyrics between the bar lines
263 \consists "Bar_engraver"
264 \override BarLine
#'transparent
= ##t
268 \consists "Separating_line_group_engraver"
273 \override Slur
#'transparent
= ##t
274 %% Comment in the below "\remove" command to allow line
275 %% breaking also at those bar lines where a note overlaps
276 %% into the next measure. The command is commented out in this
277 %% short example score, but especially for large scores, you
278 %% will typically yield better line breaking and thus improve
279 %% overall spacing if you comment in the following command.
280 %%\remove "Forbid_line_break_engraver"