[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: function with markup
From: |
luis jure |
Subject: |
Re: function with markup |
Date: |
Fri, 24 May 2013 13:31:28 -0300 |
on 2013-05-24 at 18:18 Janek Warchoł wrote:
> I don't know how to explain this accurately, but maybe seeing this
> variation will help you get an idea what's happening:
>
> tiempo = #(define-music-function (parser location secs) (string?)
> #{ _\markup { \hspace #-1.6 \lower #3 \sans #secs } #})
>
> { c''4-\tiempo "1" }
a-ha! now i get it...
(actually, your example compiles but with a warning. substituting
c''4-\tiempo with c''4_\tiempo seems to make lilypond happier).
thanks a lot!
lj