lilypond-user
[Top][All Lists]
Advanced

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

Coloring a whole score


From: Urs Liska
Subject: Coloring a whole score
Date: Mon, 27 Feb 2017 13:07:22 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.6.0

Hi all,

in order to color a full score I wrote the following:

%%%%%
#(define score-color blue)

\layout {
  \context {
    \Score
    #@(map (lambda (gd) 
             #{ \override #`(,(car gd) color) = #score-color #})
        all-grob-descriptions)
  }
}

{
  c'
}
%%%%%

It seems to work, but I'm wondering if there's a more generic (and
efficient?) way of setting the basic colour for "everything".

Any ideas/suggestions?
Urs

-- 
address@hidden
https://openlilylib.org
http://lilypondblog.org




reply via email to

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