lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Color one SystemStartBrace


From: Urs Liska
Subject: Re: Color one SystemStartBrace
Date: Wed, 13 Mar 2019 21:30:51 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1


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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]