Hi Spela,
I do not have the v13.2 but whith v14.2 it seems to work fine:
\version "2.14.2"
#(define (override-color-for-all-grobs color)
(lambda (context)
(let loop ((x all-grob-descriptions))
(if (not (null? x))
(let ((grob-name (caar x)))
(ly:context-pushpop-property context grob-name 'color color)
(loop (cdr x)))))))
{
\context Score \applyContext #(override-color-for-all-grobs (x11-color
'blue))
\repeat volta 2 { c'1 }
\alternative {{ c' } { r }}
}
HTH,
Pierre
2016-04-10 10:31 GMT+02:00 SpelaK <[email protected]>:
> I have some problems coloring volta bracket. Using 2.13.2 version of
> Lilypond.
> I would like to color all staff objects.
>
> -----------------
> If I use this command, it colors everything automatically, except the volta
> bracket:
>
> #(define (override-color-for-all-grobs color)
> (lambda (context)
> (let loop ((x all-grob-descriptions))
> (if (not (null? x))
> (let ((grob-name (caar x)))
> (ly:context-pushpop-property context grob-name 'color color)
> (loop (cdr x)))))))
>
>
> \applyContext #(override-color-for-all-grobs (x11-color 'blue))
>
> -----------------
> If I use these comands, I do not find the right command for the
> Volta-engraver:
>
> \override NoteHead #'color = #blue
> \override Stem #'color = #blue
> \override Staff.BarLine #'color = #blue
> \override Staff.TimeSignature #'color = #blue
> \override Staff.Clef #'color = #blue
> \override Staff.StaffSymbol #'color = #blue
> \override Staff.KeySignature #'color = #blue
>
>
>
>
> _______________________________________________
> lilypond-user mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user