Hello
Thanks for the reply.I'll try it..
JPierre

Here's an example: I'd like to color, for example, the background of squares 1 and 2 blue, the background of squares 3 and 4 red, etc.
At worst, color the text..
Thank you.

\score {
  \new ChordGrid \chordmode
  {
    \override GridChordName.Parentheses.font-size = #2
    \set chordRootNamer = #chordNamer       % substitution du nomage des accords     \set chordNameExceptions = #chJazz      % substitution de l'affichage des extensions
    \override GridChordName.font-size = #3
    \override GridChordName.font-name = #'"lilyjazzchord"
    \set chordChanges = ##t
    \set noChordSymbol = "—"
    {
      \repeat percent 2 {d1:6.9}
      \repeat percent 2 {e:9}
      e:m9
      a:7.13
      \repeat percent 2 {d1:6.9}
      \break
    }
  }
  \layout
  {
    \context
    {
      \ChordGrid
      slashChordSeparator = % is only a dividing line;
      #(make-with-dimensions-markup (cons 0 0) (cons 0 0) ;; displaces nothing
(make-translate-markup  (cons -1 -1.5) ;; just clear of root-stuff base
(make-rotate-markup -45 "/"))) % roughly perp to bass/root axis
      chordNoteNamer = #(lambda (p l?)
                          (make-lower-markup 2.0 ;; not too cramped but still belonging graphically
(make-small-markup ;; as qualifier is subordinate to root name
(note-name->markup p l?))))
    }
  }
}


Le 07/01/2026 à 18:21, Shane Brandes a écrit :
If you aretalking about a Chord Grid, I believe so, by overriding 
ChordSquare.whiteout and ChordSquare.whiteout-color.

If you had provided a tiny example  (https://lilypond.org/tiny-examples.html) I 
would have tried it out for you before replying.

Reply via email to