Hi.
> I've got a song where several annotations like "Refrain" or "Verse" are set
> in
> the Vocals (because that's the voice at the top of the system).
> Now I'm starting to extract parts, and of course the annotations are only
> shown in the vocal part.
> is there any other way to have the annotations in each other part than to
> write it down for any voice but using tags to prevent them getting printed in
> the score?
> It would be nice if I could define for e.g. bar 3 independently of the
> instrument the part is for that the annotation "Refrain" has to be set at
> the
> upper right of the bar.
You can save the annotations in a variable and create one staff with them and
one
staff without; then you use the appropriate one in the \score block. [See
attached
example.]
Best,
Gilles
\version "2.10.10"
annotationsForParts = {
s1*3 |
s1^"Refrain" |
% etc.
}
partNotes = \relative c' {
c1 |
d2 e |
f1 |
g4 a g f |
% etc.
}
partStaffWithAnnotations = \context Staff = "AnnotatedPart" {
<<
\annotationsForParts
\partNotes
>>
}
partStaff = \context Staff = "Part" {
\partNotes
}
\score {
\partStaff
% \partStaffWithAnnotations
\layout {}
}
_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user