Hello Vaughan,

I lifted an idea from your solution. I was looking for the
if-statement, and didn't know the syntax for doing so. My solution looks
like:

isAmenFPO = ##t

$(if (eq? isAmenFPO #t)
    #{
        \score { ...
        } % end score
    #}
)


Many thanks,
mattfong


On Tue, Dec 1, 2020 at 7:15 AM Matthew Fong <oxen...@gmail.com> wrote:

> Hello Vaughan,
>
> Many thanks for this. I haven't read up using books. This seems like it
> will do the trick!
>
>
> mattfong
>
> On Mon, Nov 30, 2020 at 8:22 PM Vaughan McAlley <vaug...@mcalley.net.au>
> wrote:
>
>> On Tue, 1 Dec 2020 at 04:08, Matthew Fong <oxen...@gmail.com> wrote:
>> >
>> > Hello everyone,
>> >
>> > I have multiple scores in my LilyPond file, and I was wondering if
>> there is a programmatic way to selectively hide and show scores based on
>> variables, or would this have to be done at the note and lyrics level?
>> >
>> >
>> > Many thanks,
>> > mattfong
>>
>> Hi Matthew,
>>
>> I used something like the attached file for a big eight-movement work…
>>
>> Cheers,
>> Vaughan
>>
>>
>>

Reply via email to