lilypond-user
[Top][All Lists]
Advanced

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

function does not replicate \markup?


From: address@hidden
Subject: function does not replicate \markup?
Date: Sun, 24 Jun 2012 05:15:22 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; rv:13.0) Gecko/20120614 Thunderbird/13.0.1

I have just made my first Lilypond function!
but somehow it doesn't do what I want it to do...
The box with the number isn't located at the same position and it's a bigger size.
WHY?

// Anders

%% Start of file
\version "2.14.2"

fN = #(define-music-function (parser location fretp ) (string?)

#{

\once \override Score . RehearsalMark #'direction = #DOWN

\once \override Score . RehearsalMark #'self-alignment-X = #RIGHT

\mark \markup { \box \italic  $fretp }

#}

)

{

<c' e' g' >_\markup { \box \italic { 8 } }

<c' e' g'> \fN "8"

}

%% End of file



reply via email to

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