Hello !

I did that...

#(define-markup-command (spacer layout props text) (markup?)
 (interpret-markup layout props
 #{\markup \override #'(word-space . -0.2) 
        \line { #(map! string (string->list text )) 
        }  #}))
      
\markup \spacer "Aaaa Bbbb"


But I would like to include the word-space value just before the markup ...
Someone can help me?

#(define-markup-command (spacer layout props text) (markup?)
 (interpret-markup layout props
 #{\markup \override #'(word-space . /wordspacevalue/) 
        \line { #(map! string (string->list text )) 
        }  #}))
      
\markup \spacer #/wordspacevalue/-0.2 "Aaaa Bbbb"


Thanks for your help



--
Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html

_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to