lilypond-user
[Top][All Lists]
Advanced

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

Re: Coda/Segno sign color override not working: LiliyPond 2.24.0


From: Laurie Savage
Subject: Re: Coda/Segno sign color override not working: LiliyPond 2.24.0
Date: Sat, 25 Mar 2023 11:19:45 +1100

Leo,

I didn't spot that problem, but your \tweak snippet works perfectly. 

Regards,

Laurie
Laurie Savage
https://www.queensofthewest.com/

On Sat, Mar 25 2023 at 11:16:37 +1100, Laurie Savage <savage.laurie@gmail.com> wrote:
Thanks Michael,

That clarifies the problem. I'm going to see if I can incorporate the new segno-repeat structure into the score, but I suspect that might be difficult because the Segno is at the start of a repeat and the Coda sign is midway through a repeated passage that follows. 
Laurie Savage
https://www.queensofthewest.com/

On Sat, Mar 25 2023 at 00:59:40 +0100, Leo Correia de Verdier <leo.correia.de.verdier@gmail.com> wrote:
The problem with that solution is that it changes all Scripts, including all articulations. I would suggest the somewhat hacky solution of redefining just the commands in case, like segno = \tweak color #red \segno coda = \tweak color #red \coda But if something more elegant is required (for instance if there could be conflicting tweaks) there is a solution in this thread: https://lists.gnu.org/archive/html/lilypond-user/2021-09/msg00484.html HTH /Leo
25 mars 2023 kl. 00:35 skrev Michael Werner <reznaeous@gmail.com>: Hi Laurie, On Fri, Mar 24, 2023 at 7:19 PM savage.laurie <savage.laurie@gmail.com> wrote: I think the issue might be that I am using explicit \coda and \segno commands and your example uses the new \repeat segno form which will be too complex in the specific big band chart I'm editing. It's about 160 bars long with the segno in bar 24 and the "to coda" symbol in bar 48 and three repeated sections, I got lost in the nested braces when I tried the new structure. If I was writing it from scratch rather than re-editing it would be simpler. That is indeed the issue, as those marks are a different type. Just needs a different override in a different context. Turns out that using the \coda and \segno commands the symbols created are handled the same as articulations. That means they fall into the somewhat more generic Script type, which is handled in the Voice context. Therefor: \layout { \context { \Score \override CodaMark.color = #red \override SegnoMark.color = #red \override SectionLabel.color = #red \override SectionLabel.font-size = #3 \override RehearsalMark.font-size = #3 \override RehearsalMark.color = #red \override TextMark.color = #red } \context { \Voice \override Script.color = #red } } should get you sorted. Michael

reply via email to

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