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 <d...@gnu.org> wrote:

> David Kastrup <d...@gnu.org> writes:
>
> > David Kastrup <d...@gnu.org> writes:
> >
> >> Matthew Fong <oxen...@gmail.com> 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)
> >>
> >> The third one is perfect once you fix the difference between ' ("quote")
> >> and ` ("backquote").  , ("comma") is only heeded within a backquote.
> >
> > Oops, sorry.  The nomenclature is , ("unquote") rather than , ("comma").
>
> Sigh.  And while I am at it: ` ("quasiquote") rather than ` ("unquote").
>
> --
> David Kastrup
>

Reply via email to