Hi Jan-Peter,
> now my family had to leave me here alone …
Sorry to hear that…
On the bright side, that means more uninterrupted Lilypond time! ;)
>> So the ‘test’ in '\addEdition test’ is not related to the ‘test’ in
>> ‘my.test’?
> I am going to produce examples with more meaningful names.
No need. I’m on it! =)
\version "2.18.0"
\include "edition-engraver.ly"
\addEdition edition-engraver-name
% color the notehead red on the second quarter in the second measure
\editionMod edition-engraver-name 2 1/4 edition-name.Staff.A \once \override
NoteHead #'color = #red
% destroy edition-name slur starting on the second quarter in the first measure
\editionMod edition-engraver-name 1 2/4 edition-name.Staff.B \shape #'((0 .
0)(0 . 1)(0 . -1)(0 . 0)) Slur
\layout {
\context {
\Voice
\consists \editionEngraver ##f
}
\context {
\Score
\consists \editionEngraver edition-name
}
}
music = \relative c'' { c4 bes a( g) f e d c }
\score {
<<
\new StaffGroup <<
\new Staff \with { \consists \editionEngraver edition-name } << \music >>
\new Staff \with { \consists \editionEngraver edition-name } << \music >>
>>
>>
}
This seems to work well, and clarifies (at least for me) what the different
references are.
(n.b., I only added the StaffGroup to confirm that it doesn’t mess up the Staff
counter A,B,…)
Now that I’ve gotten my head around it, I will be putting together a
“real-world” example.
Thanks,
Kieren.
_______________________________________________
lilypond-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-devel