Hello Mathew Fong,
I am very interested in this scheme variable in a function, however I have
a hard time generating a working .ly with sample output.
Thank you.
--
ming (lyndon) tsang
Ah ha! Thank you, David!
\override #`(line-width . ,rubricsWidthSU) does indeed work. I have to be
mindful of the environment I'm using the variable in.
Many thanks,
mattfong
On Sat, Jan 6, 2024 at 3:43 PM David Kastrup wrote:
> David Kastrup writes:
>
> > David Kastrup writes:
> >
> >>
David Kastrup writes:
> David Kastrup writes:
>
>> Matthew Fong writes:
>>
>>> I tried the following inside the function, and all generate errors. I would
>>> like to use the value of rubricsWidthSU in this override.
>>>
>>> \override #'(line-width . \rubricsWidthSU)
>>> \override
David Kastrup writes:
> Matthew Fong writes:
>
>> I tried the following inside the function, and all generate errors. I would
>> like to use the value of rubricsWidthSU in this override.
>>
>> \override #'(line-width . \rubricsWidthSU)
>> \override #'(line-width . #rubricsWidthSU)
>> \override
Matthew Fong writes:
> I tried the following inside the function, and all generate errors. I would
> like to use the value of rubricsWidthSU in this override.
>
> \override #'(line-width . \rubricsWidthSU)
> \override #'(line-width . #rubricsWidthSU)
> \override #'(line-width . ,rubricsWidthSU)
I tried the following inside the function, and all generate errors. I would
like to use the value of rubricsWidthSU in this override.
\override #'(line-width . \rubricsWidthSU)
\override #'(line-width . #rubricsWidthSU)
\override #'(line-width . ,rubricsWidthSU)
Many thanks,
mattfong
On Sat,
Hello everyone,
I'm feeling somewhat confounded by LilyPond Scheme variables.
I've created some global variables that I want to use in functions so I
change up some custom spacing only one (as these may vary with staff size)
I defined the following
#(define kOneStaffUnitInInches 0.0761)