lilypond-user
[Top][All Lists]
Advanced

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

Re: Encapsulating tweak and markup in a variable


From: Klaus Blum
Subject: Re: Encapsulating tweak and markup in a variable
Date: Fri, 13 Feb 2015 07:36:02 -0700 (MST)

Salut Jacques, 

defining your command as a function should do the trick:

%---------------------------------------------------

\version "2.18.2"

UN_E = #(define-music-function (parser location) ()
#{
  -\tweak TextScript.self-alignment-X #CENTER
  -\markup\large\bold\with-color #magenta "1E"
#})

{g2 \mf ^\UN_E}

%----------------------------------------------------

Cheers, 
Klaus



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Encapsulating-tweak-and-markup-in-a-variable-tp171826p171827.html
Sent from the User mailing list archive at Nabble.com.



reply via email to

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