Maarten Deen <md...@xs4all.nl> writes: > Is it possible to define headers (like instrument) in the score > context? I've tried, and nothing comes up. > > Background: I play trumpet and use Lilypond to transpose music. You > have parts in F, A, E flat, whatever, and my trumpets are tuned in B > flat or C. > > So what I do is I write the score in an lyi file and include that in a > ly file that does the transposing.
> \book { > \bookOutputSuffix "C" > > \score { > \transpose c bes, { \partI } > \header { instrument = "Trumpet in C" } > \layout { ragged-last = ##f } > > } %% \score > > } %%\book > > \book { > \bookOutputSuffix "Bes" > > \score { > \transpose bes bes { \partI } > \header { instrument = "Trumpet in Bes" } > \layout { ragged-last = ##f } > > } %% \score > > } %%\book Not a complete working example. Anything wrong with
partI = { c'1 } \book { \bookOutputSuffix "C" \header { instrument = "Trumpet in C" } \score { \transpose c bes, { \partI } \layout { ragged-last = ##f } } %% \score } %%\book \book { \bookOutputSuffix "Bes" \header { instrument = "Trumpet in Bes" } \score { \transpose bes bes { \partI } \layout { ragged-last = ##f } } %% \score } %%\book
-- David Kastrup
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user