OK, thanks, Andrew. I've noted this for the next revision of that section (and Mats' later amendment).
Trevor D > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:lilypond-user-bounces+t.daniels=treda.co.u > [EMAIL PROTECTED] Behalf Of > Andrew Hawryluk > Sent: 13 February 2008 05:40 > To: lilypond-user Mailinglist > Subject: suggestion for LM 5.1.3 > > > Under LM 5.1.3 "Large projects" could we include > something like this? > It might also fit under 5.1.4 "Saving typing with > variables and > functions". Either way, I didn't discover this > simple idea until I was > browsing through the mailing list, and it would > have saved me some > trouble. (I was adding rehearsal marks to each > instrument's music > variable. How embarrassing!) > > -Andrew > > > *** start draft text *** > > In large projects, you can combine several > reusable variables to make > a single staff of music. For example, if three > trumpet lines have the > same dynamics we could create a single variable > that holds only the > dynamic indications separated by skips. Likewise, > if rehearsal marks > are needed, they will be the same for all instruments. > > trumpetdynamics = { s1\f s1*10 s1\mp } > rehearsalmarks = {s8 \mark \default } > ... > \score { << > \new Staff { << \firsttrumpetnotes > \trumpetdynamics \rehearsalmarks >> } > \new Staff { << \secondtrumpetnotes > \trumpetdynamics \rehearsalmarks >> } > >> } > > *** end draft text *** > > > _______________________________________________ > lilypond-user mailing list > [email protected] > http://lists.gnu.org/mailman/listinfo/lilypond-user > _______________________________________________ lilypond-user mailing list [email protected] http://lists.gnu.org/mailman/listinfo/lilypond-user
