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.17.30
11 lsrtags = "staff-notation, ancient-notation, really-cool"
13 Incipits can be added using the instrument name grob, but keeping
14 separate the instrument name definition and the incipit definition.
21 #(define-music-function (parser location incipit-music) (ly:music?)
23 \once \override Staff.InstrumentName.self-alignment-X = #RIGHT
24 \once \override Staff.InstrumentName.self-alignment-Y = ##f
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 (set! (ly:grob-property grob 'long-text)
33 { \context MensuralStaff \with {
34 instrumentName = #instrument-name
37 \layout { $(ly:grob-layout grob)
40 % primitive-eval is probably easiest for
41 % escaping lexical closure and evaluating
42 % everything respective to (current-module).
44 '(or (false-if-exception (- indent incipit-width))
51 (system-start-text::print grob)))
54 %%%%%%%%%%%%%%%%%%%%%%%%%
57 \set Score.skipBars = ##t
64 % let finis bar go through all staves
65 \override Staff.BarLine.transparent = ##f
72 \new MensuralVoice = "discantusIncipit" <<
73 \repeat unfold 9 { s1 \noBreak }
75 \clef "neomensural-c1"
81 \new Lyrics \lyricsto discantusIncipit { IV- }
98 discantusLyrics = \lyricmode {
109 \new MensuralVoice = "altusIncipit" <<
110 \repeat unfold 9 { s1 \noBreak }
112 \clef "neomensural-c3"
118 \new Lyrics \lyricsto altusIncipit { IV- }
127 fis g4.( fis16 e fis4) |
135 altusLyrics = \lyricmode {
137 Ju -- bi -- la -- te |
145 \new MensuralVoice = "tenorIncipit" <<
146 \repeat unfold 9 { s1 \noBreak }
148 \clef "neomensural-c4"
156 \new Lyrics \lyricsto tenorIncipit { IV- }
173 tenorLyrics = \lyricmode {
175 Ju -- bi -- la -- te |
181 \new MensuralVoice = "bassusIncipit" <<
182 \repeat unfold 9 { s1 \noBreak }
192 \new Lyrics \lyricsto bassusIncipit { IV- }
209 bassusLyrics = \lyricmode {
217 \new StaffGroup = choirStaff <<
218 \new Voice = "discantusNotes" <<
220 \set Staff.instrumentName = #"Discantus"
221 \incipit \discantusIncipit
224 \new Lyrics = "discantusLyrics" \lyricsto discantusNotes { \discantusLyrics }
225 \new Voice = "altusNotes" <<
227 \set Staff.instrumentName = #"Altus"
228 \incipit \altusIncipit
231 \new Lyrics = "altusLyrics" \lyricsto altusNotes { \altusLyrics }
232 \new Voice = "tenorNotes" <<
234 \set Staff.instrumentName = #"Tenor"
235 \incipit \tenorIncipit
238 \new Lyrics = "tenorLyrics" \lyricsto tenorNotes { \tenorLyrics }
239 \new Voice = "bassusNotes" <<
241 \set Staff.instrumentName = #"Bassus"
242 \incipit \bassusIncipit
245 \new Lyrics = "bassusLyrics" \lyricsto bassusNotes { \bassusLyrics }
251 %% no bar lines in staves or lyrics
254 %% the next two instructions keep the lyrics between the bar lines
257 \consists "Bar_engraver"
258 \consists "Separating_line_group_engraver"
264 %% Comment in the below "\remove" command to allow line
265 %% breaking also at those bar lines where a note overlaps
266 %% into the next measure. The command is commented out in this
267 %% short example score, but especially for large scores, you
268 %% will typically yield better line breaking and thus improve
269 %% overall spacing if you comment in the following command.
270 %%\remove "Forbid_line_break_engraver"