1 %% DO NOT EDIT this file manually; it is automatically
2 %% generated from LSR http://lsr.di.unimi.it
3 %% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
4 %% and then run scripts/auxiliar/makelsr.py
6 %% This file is in the public domain.
10 lsrtags = "ancient-notation, specific-notation, tweaks-and-overrides, workaround"
13 As a workaround to get real incipits which are independent from the
14 main score these are included as a markup into the field normally used
15 for the instrument name. As for now lyrics can only be added as a
16 direct markup. It doesn't unfortunately conform with the spacing of the
20 doctitle = "Transcription of Ancient music with incipit"
24 #(define-music-function (parser location incipit-music) (ly:music?)
26 \once \override Staff.InstrumentName.self-alignment-X = #RIGHT
27 \once \override Staff.InstrumentName.self-alignment-Y = ##f
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
40 \layout { $(ly:grob-layout grob)
43 % primitive-eval is probably easiest for
44 % escaping lexical closure and evaluating
45 % everything respective to (current-module).
47 '(or (false-if-exception (- indent incipit-width))
54 (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- }
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) |
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- }
176 tenorLyrics = \lyricmode {
178 Ju -- bi -- la -- te |
184 \new MensuralVoice = "bassusIncipit" <<
185 \repeat unfold 9 { s1 \noBreak }
195 \new Lyrics \lyricsto bassusIncipit { IV- }
212 bassusLyrics = \lyricmode {
220 \new StaffGroup = choirStaff <<
221 \new Voice = "discantusNotes" <<
223 \set Staff.instrumentName = #"Discantus "
224 \incipit \discantusIncipit
227 \new Lyrics = "discantusLyrics" \lyricsto discantusNotes { \discantusLyrics }
228 \new Voice = "altusNotes" <<
230 \set Staff.instrumentName = #"Altus "
231 \incipit \altusIncipit
234 \new Lyrics = "altusLyrics" \lyricsto altusNotes { \altusLyrics }
235 \new Voice = "tenorNotes" <<
237 \set Staff.instrumentName = #"Tenor "
238 \incipit \tenorIncipit
241 \new Lyrics = "tenorLyrics" \lyricsto tenorNotes { \tenorLyrics }
242 \new Voice = "bassusNotes" <<
244 \set Staff.instrumentName = #"Bassus "
245 \incipit \bassusIncipit
248 \new Lyrics = "bassusLyrics" \lyricsto bassusNotes { \bassusLyrics }
254 %% no bar lines in staves or lyrics
257 %% the next two instructions keep the lyrics between the bar lines
260 \consists "Bar_engraver"
261 \consists "Separating_line_group_engraver"
267 %% Comment in the below "\remove" command to allow line
268 %% breaking also at those bar lines where a note overlaps
269 %% into the next measure. The command is commented out in this
270 %% short example score, but especially for large scores, you
271 %% will typically yield better line breaking and thus improve
272 %% overall spacing if you comment in the following command.
273 %%\remove "Forbid_line_break_engraver"