Re: Help using a Scheme variable in a function

2024-01-06 Thread Matthew Fong
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: > > > >>

Re: Help using a Scheme variable in a function

2024-01-06 Thread David Kastrup
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

Re: Help using a Scheme variable in a function

2024-01-06 Thread David Kastrup
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

Re: Help using a Scheme variable in a function

2024-01-06 Thread David Kastrup
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)

Re: Help using a Scheme variable in a function

2024-01-06 Thread Matthew Fong
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,

Help using a Scheme variable in a function

2024-01-06 Thread Matthew Fong
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)

Rearrange all contexts in a different order

2024-01-06 Thread Cordelia
Hi, I’m writing a score and I’d love to rearrange all the elements in the order I want. As MacMillan suggested in a previous message (https://lists.gnu.org/archive/html/lilypond-user/2023-12/msg00237.html ), to rearrange