Am So., 15. März 2020 um 21:10 Uhr schrieb Hwaen Ch'uqi <[email protected]>:
>
> Greetings,
>
> I have customized a clefless staff with eleven lines, and I would like
> the center line to be colored red. I thought I followed properly this
> LSR snippet:
>
> http://lsr.di.unimi.it/LSR/Item?id=700
>
> But the center line is still not red. Below is as "simple" a code as I
> can make, and I have attached a pdf of the output.

>   \new Staff \with {
>     \override StaffSymbol.line-count = #11
>     \override Staff.StaffSymbol.stencil = #(color-staff-lines #f #f #f
             ^^^^^^^^^^^^^^
> #f #f red #f #f #f #f #f)
>     \remove "Clef_engraver"
>   }

Hi,

as opposed to the lsr-snippet you've put the call into \with

Then you need to delete the context-setting, i.e.
\with {
...
\override StaffSymbol.stencil ...
...
}
will work.

HTH,
  Harm

Reply via email to