lilypond-user
[Top][All Lists]
Advanced

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

Re: markup(List) text color


From: Pierre Perol-Schneider
Subject: Re: markup(List) text color
Date: Mon, 24 Feb 2020 01:02:52 +0100

Hi Bric,
Try \with-color => http://lilypond.org/doc/v2.19/Documentation/notation/other#index-_005cwith_002dcolor-2
HTH
Cheers,
Pierre

Le dim. 23 févr. 2020 à 23:09, Bric <address@hidden> a écrit :
Greetings.  For my life I can't (find|figure out) the code for changing text color in \markupList.  The "font-size" line does work - the font size change is applied to the entire paragraph.

The "\override #'(font-color . red)" line does not cause an error, but has no effect on the color. Using version 2.19.83. Please help. Thanks.


#(define-markup-list-command (paragraph layout props args) (markup-list?)                                                                             
   #:properties ((par-indent 3))                                                                                                                     
   (interpret-markup-list layout props                                                                                                               
    #{\markuplist \justified-lines { \hspace #par-indent #args } #}))


\markuplist {

  \override #'(font-size . -2)
  \override #'(font-color . red)

  \paragraph {

     Monsieur le baron était un des \bold plus puissants seigneurs de la Westphalie, car son château avait une porte et des fenêtres.  Sa  grande salle même était ornée d'une tapisserie.  Tous les chiens de ses basses-cours composaient une meute dans le besoin ; ses. Etc...

    }
}


reply via email to

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