Hi List.
Trying to nut this one out - I'd like to get the instrument name for
each bookpart into the header. Attached is what I'd LIKE to work, but
I'm not sure how to go about it - how do I get oddHeaderMarkup to access
a variable which is in a bookpart, not in the top level block? Is this
even possible?
Thanks!
Graeme
\bookpart {
\paper {
oddHeaderMarkup = \markup {
\column {
\fill-line {
\smallCaps \fromproperty #'header:instrument
}
" "
}
}
evenHeaderMarkup = \oddHeaderMarkup
}
\score {
\new StaffGroup \keepWithTag #'vnp \Imusic
\layout {
\compressFullBarRests
\context {
\Score
\override MultiMeasureRest.expand-limit = #2
}
\context {
\Staff \override InstrumentName #'stencil = ##f
}
}
\header {
instrument = "Violin I"
}
}
}
\bookpart {
}_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user