1 % DO NOT EDIT this file manually; it is automatically
2 % generated from Documentation/snippets/new
3 % Make any changes in Documentation/snippets/new/
4 % and then run scripts/auxiliar/makelsr.py
6 % This file is in the public domain.
7 %% Note: this file works from version 2.15.18
11 %% Translation of GIT committish: b482c3e5b56c3841a88d957e0ca12964bd3e64fa
13 Los «incipit» se pueden escribir utilizando el grob del nombre del
14 instruemento, pero manteniendo independientes las definiciones del
15 nombre del instrumento y del incipit."
17 doctitlees = "Incipit"
19 %% Translation of GIT committish: 57f9346bb030f49336a858fcbf1519366fe56454
21 Les « incipits » peuvent faire partie de l'objet @code{InstrumentName},
22 tout en définissant de manière indépendante le nom de l'instrument et
26 doctitlefr = "Incipit"
28 lsrtags = "staff-notation, ancient-notation"
30 Incipits can be added using the instrument name grob, but keeping
31 separate the instrument name definition and the incipit definition.
38 #(define-music-function (parser location incipit-music) (ly:music?)
40 \once \override Staff.InstrumentName #'self-alignment-X = #RIGHT
41 \once \override Staff.InstrumentName #'self-alignment-Y = #UP
42 \once \override Staff.InstrumentName #'Y-offset =
44 (+ 4 (system-start-text::calc-y-offset grob)))
45 \once \override Staff.InstrumentName #'padding = #0.3
46 \once \override Staff.InstrumentName #'stencil =
48 (let* ((instrument-name (ly:grob-property grob 'long-text))
49 (layout (ly:output-def-clone (ly:grob-layout grob)))
50 (music (make-sequential-music
51 (list (context-spec-music
52 (make-sequential-music
53 (list (make-property-set
54 'instrumentName instrument-name)
55 (make-grob-property-set
57 'Y-extent '(-4 . 4))))
60 (score (ly:make-score music))
61 (mm (ly:output-def-lookup layout 'mm))
62 (indent (ly:output-def-lookup layout 'indent))
63 (width (ly:output-def-lookup layout 'incipit-width))
64 (incipit-width (if (number? width)
68 (ly:output-def-set-variable! layout 'indent (- indent
70 (ly:output-def-set-variable! layout 'line-width indent)
71 (ly:output-def-set-variable! layout 'ragged-right #f)
72 (ly:output-def-set-variable! layout 'ragged-last #f)
73 (ly:output-def-set-variable! layout 'system-count 1)
74 (ly:score-add-output-def! score layout)
75 (ly:grob-set-property! grob 'long-text
76 (markup #:score score))
77 (system-start-text::print grob)))
80 %%%%%%%%%%%%%%%%%%%%%%%%%
83 \set Score.skipBars = ##t
90 % let finis bar go through all staves
91 \override Staff.BarLine #'transparent = ##f
98 \new MensuralVoice = "discantusIncipit" <<
99 \repeat unfold 9 { s1 \noBreak }
101 \clef "neomensural-c1"
107 \new Lyrics \lyricsto discantusIncipit { IV- }
118 \once \override NoteHead #'transparent = ##t
124 discantusLyrics = \lyricmode {
135 \new MensuralVoice = "altusIncipit" <<
136 \repeat unfold 9 { s1 \noBreak }
138 \clef "neomensural-c3"
144 \new Lyrics \lyricsto altusIncipit { IV- }
153 fis g4.( fis16 e fis4) |
155 \once \override NoteHead #'transparent = ##t
161 altusLyrics = \lyricmode {
163 Ju -- bi -- la -- te |
171 \new MensuralVoice = "tenorIncipit" <<
172 \repeat unfold 9 { s1 \noBreak }
174 \clef "neomensural-c4"
182 \new Lyrics \lyricsto tenorIncipit { IV- }
193 \once \override NoteHead #'transparent = ##t
199 tenorLyrics = \lyricmode {
201 Ju -- bi -- la -- te |
207 \new MensuralVoice = "bassusIncipit" <<
208 \repeat unfold 9 { s1 \noBreak }
218 \new Lyrics \lyricsto bassusIncipit { IV- }
229 \once \override NoteHead #'transparent = ##t
235 bassusLyrics = \lyricmode {
243 \new StaffGroup = choirStaff <<
244 \new Voice = "discantusNotes" <<
246 \set Staff.instrumentName = #"Discantus"
247 \incipit \discantusIncipit
250 \new Lyrics = "discantusLyrics" \lyricsto discantusNotes { \discantusLyrics }
251 \new Voice = "altusNotes" <<
253 \set Staff.instrumentName = #"Altus"
254 \incipit \altusIncipit
257 \new Lyrics = "altusLyrics" \lyricsto altusNotes { \altusLyrics }
258 \new Voice = "tenorNotes" <<
260 \set Staff.instrumentName = #"Tenor"
261 \incipit \tenorIncipit
264 \new Lyrics = "tenorLyrics" \lyricsto tenorNotes { \tenorLyrics }
265 \new Voice = "bassusNotes" <<
267 \set Staff.instrumentName = #"Bassus"
268 \incipit \bassusIncipit
271 \new Lyrics = "bassusLyrics" \lyricsto bassusNotes { \bassusLyrics }
277 %% no bar lines in staves or lyrics
278 \override BarLine #'transparent = ##t
280 %% the next two instructions keep the lyrics between the bar lines
283 \consists "Bar_engraver"
284 \consists "Separating_line_group_engraver"
289 \override Slur #'transparent = ##t
290 %% Comment in the below "\remove" command to allow line
291 %% breaking also at those bar lines where a note overlaps
292 %% into the next measure. The command is commented out in this
293 %% short example score, but especially for large scores, you
294 %% will typically yield better line breaking and thus improve
295 %% overall spacing if you comment in the following command.
296 %%\remove "Forbid_line_break_engraver"