Il 25/nov/2013 22:33 "ryanmichaelmcclure" <ryanmichaelmccl...@gmail.com> ha scritto: > > Give this a try. I used some snippets in the LSR to apply a giant markup > black background and changed everything to white. > > \version "2.17.29" > > #(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))))))) > > \relative c'' { > \applyContext #(override-color-for-all-grobs (x11-color 'white)) > c4\pp\< d e f > \grace { g16[( a g fis]) } g1\ff\! > % place in bottom layer > -\tweak #'layer #-1 > -\markup { > \with-dimensions #'(0 . 0) #'(0 . 0) > % specify color > \with-color #(rgb-color 0 0 0) > % specify size > \filled-box #'(-1000 . 1000) #'(-1000 . 4000) #0 > } > }
Thanks, it works fine. Even if I can't make it work in my file, which has two voices stored in two variables. Anyway, I needed it to print a score on a t-shirt, but my friends eventually decided printing black on white.
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user