This is perfect. Thank you so much David.
> Le 16 mars 2025 à 09:40, David Kastrup <d...@gnu.org> a écrit : > > Eric C <e.a...@outlook.com> writes: > >> Hi, >> >> Is it possible to assign the formatting part of a markup to a variable >> without the text. I would like to be able to change the text >> formatting in a single location and thus affect all my textMarks. The >> following code snippet shows you the result I want. > > Something like the following? > > % < \version "2.24.4" \markup varFormat = \markup \italic \fontsize #-1 > \with-color #blue \etc myChords = \chords { \textMark \markup \varFormat > "x32010" c } \score { \new ChordNames \myChords } % > > > -- > David Kastrup