[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Quartet template with/without trills
From: |
Peter Gentry |
Subject: |
RE: Quartet template with/without trills |
Date: |
Tue, 20 Jan 2015 17:27:14 -0000 |
>
>> >I have used the tags 'trills and 'expand to produce scores
>and midi.
>> >However although the tags work OK when the music files are compiled
>> >individually when using the score file below any music
>identified by
>> >'trills or 'expand is skipped. Am I missing a point here or is this
>> >not possible?
>> >
>> >\version "2.18.2"
>> >
>> >\include "piece.ly"
>> >#(set-global-staff-size 14)
>> >\score {
>> > \new StaffGroup \keepWithTag #'score
>> > \removeWithTag #'expand \music
>> >\layout { }
>> >}
>> >\score {
>> > \new StaffGroup \keepWithTag #'score
>> > \removeWithTag #'trills \music
>> > \midi{ }
>> >}
>> >
>
>keepWithTag #'score keeps untagged and score-tagged sections
>and removes all other tagged sections. So you will loose
>#'trills and #'expand.
>
>What about:
>
>score {
> \new StaffGroup \keepWithTag #'(score trills expand)
> \removeWithTag #'expand \music
> layout { }
>}
>
>\score {
> \new StaffGroup \keepWithTag #'(score trills expand)
> \removeWithTag #'trills \music
> \midi{ }
>}
>
>or even:
>
>score {
> \new StaffGroup \keepWithTag #'(score trills)
> \music
> layout { }
>}
>
>\score {
> \new StaffGroup \keepWithTag #'(score expand)
> \music
> \midi{ }
>}
>
>Toine Schreurs
>
>
Thanks that worked a treat. I had not realised the way \keepWithTag worked or
that you could put all the tags in parentheses.