lilypond-user
[Top][All Lists]
Advanced

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

Re: function does not replicate \markup?


From: Thomas Morley
Subject: Re: function does not replicate \markup?
Date: Sun, 24 Jun 2012 12:40:36 +0200

2012/6/24 address@hidden <address@hidden>:
> I want the first result. Where the
> number is located directly under the note or chord.

Try:

\version "2.14.2"

fN =
#(define-music-function (parser location fretp) (string?)
    (make-music
        'TextScriptEvent
        'direction
        -1
        'text
        (markup #:line (#:box (#:italic fretp)))))

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

HTH,
  Harm



reply via email to

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