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.42
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 = #UP
25 \once \override Staff.InstrumentName #'Y-offset =
27 (+ 4 (system-start-text::calc-y-offset grob)))
28 \once \override Staff.InstrumentName #'padding = #0.3
29 \once \override Staff.InstrumentName #'stencil =
31 (let* ((instrument-name (ly:grob-property grob 'long-text)))
32 (set! (ly:grob-property grob 'long-text)
36 { \context MensuralStaff \with {
37 instrumentName = #instrument-name
38 \override VerticalAxisGroup
39 #'Y-extent = #'(-4 . 4)
42 \layout { $(ly:grob-layout grob)
45 % primitive-eval is probably easiest for
46 % escaping lexical closure and evaluating
47 % everything respective to (current-module).
49 '(or (false-if-exception (- indent (* mm incipit-width)))
56 (system-start-text::print grob)))
59 %%%%%%%%%%%%%%%%%%%%%%%%%
62 \set Score.skipBars = ##t
69 % let finis bar go through all staves
70 \override Staff.BarLine #'transparent = ##f
77 \new MensuralVoice = "discantusIncipit" <<
78 \repeat unfold 9 { s1 \noBreak }
80 \clef "neomensural-c1"
86 \new Lyrics \lyricsto discantusIncipit { IV- }
97 \once \override NoteHead #'transparent = ##t
103 discantusLyrics = \lyricmode {
114 \new MensuralVoice = "altusIncipit" <<
115 \repeat unfold 9 { s1 \noBreak }
117 \clef "neomensural-c3"
123 \new Lyrics \lyricsto altusIncipit { IV- }
132 fis g4.( fis16 e fis4) |
134 \once \override NoteHead #'transparent = ##t
140 altusLyrics = \lyricmode {
142 Ju -- bi -- la -- te |
150 \new MensuralVoice = "tenorIncipit" <<
151 \repeat unfold 9 { s1 \noBreak }
153 \clef "neomensural-c4"
161 \new Lyrics \lyricsto tenorIncipit { IV- }
172 \once \override NoteHead #'transparent = ##t
178 tenorLyrics = \lyricmode {
180 Ju -- bi -- la -- te |
186 \new MensuralVoice = "bassusIncipit" <<
187 \repeat unfold 9 { s1 \noBreak }
197 \new Lyrics \lyricsto bassusIncipit { IV- }
208 \once \override NoteHead #'transparent = ##t
214 bassusLyrics = \lyricmode {
222 \new StaffGroup = choirStaff <<
223 \new Voice = "discantusNotes" <<
225 \set Staff.instrumentName = #"Discantus"
226 \incipit \discantusIncipit
229 \new Lyrics = "discantusLyrics" \lyricsto discantusNotes { \discantusLyrics }
230 \new Voice = "altusNotes" <<
232 \set Staff.instrumentName = #"Altus"
233 \incipit \altusIncipit
236 \new Lyrics = "altusLyrics" \lyricsto altusNotes { \altusLyrics }
237 \new Voice = "tenorNotes" <<
239 \set Staff.instrumentName = #"Tenor"
240 \incipit \tenorIncipit
243 \new Lyrics = "tenorLyrics" \lyricsto tenorNotes { \tenorLyrics }
244 \new Voice = "bassusNotes" <<
246 \set Staff.instrumentName = #"Bassus"
247 \incipit \bassusIncipit
250 \new Lyrics = "bassusLyrics" \lyricsto bassusNotes { \bassusLyrics }
256 %% no bar lines in staves or lyrics
257 \override BarLine #'transparent = ##t
259 %% the next two instructions keep the lyrics between the bar lines
262 \consists "Bar_engraver"
263 \consists "Separating_line_group_engraver"
268 \override Slur #'transparent = ##t
269 %% Comment in the below "\remove" command to allow line
270 %% breaking also at those bar lines where a note overlaps
271 %% into the next measure. The command is commented out in this
272 %% short example score, but especially for large scores, you
273 %% will typically yield better line breaking and thus improve
274 %% overall spacing if you comment in the following command.
275 %%\remove "Forbid_line_break_engraver"