[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lilypond-user
Subject:    Coloring a whole score
From:       Urs Liska <ul () openlilylib ! org>
Date:       2017-02-27 12:07:22
Message-ID: db59523e-2ee0-efc4-9907-8259e82c0468 () openlilylib ! org
[Download RAW message or body]

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

-- 
ul@openlilylib.org
https://openlilylib.org
http://lilypondblog.org


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic