Am 13.03.19 um 19:41 schrieb Aaron Hill:
On 2019-03-13 10:53 am, Urs Liska wrote:
Hi all,

is it possible to get hold of a single SystemStartBrace/Bar/Bracket to color it?

\layout {
  \context {
    \Score
    \override SystemStartBrace.color = #red
  }
}

works but

(\once) \override Score.SystemStartBrace.color = #red

somewhere in the input doesn't have any effect.

Any suggestions?

I think it's StaffGroup (or other appropriate container) that you want, not Score:

%%%%
\version "2.19.82"

\new StaffGroup <<
  \new Staff { \override StaffGroup.SystemStartBracket.color = #red b'1 }
  \new Staff { b'1 }

%%%%


But it seems to work only at the beginning of a score, see:


%%%%
\version "2.19.82"

\new StaffGroup <<
  \new Staff {
    c'1
    \override StaffGroup.SystemStartBracket.color = #red
    \break
    b'1
  }
  \new Staff {
    b'1
    \break
    b'1
  }
>>
%%%%

Here neither the first (would have been surprising) nor the second are colored.

Urs


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to