[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Feeling stupid about markup functions
From: |
Paul Morris |
Subject: |
Re: Feeling stupid about markup functions |
Date: |
Wed, 27 Aug 2014 17:07:06 -0700 (PDT) |
Hi Urs,
I would just use a scheme function, as follows. Does it do what you want?
Cheers,
-Paul
\version "2.19.11"
myFunction =
#(define-scheme-function (parser location text) (markup?)
#{
\markup \italic \with-color #(x11-color "blue") #text
#})
pizz = \myFunction "pizz"
{
c'1
c'-\myFunction "foo"
c'-\pizz
}
--
View this message in context:
http://lilypond.1069038.n5.nabble.com/Feeling-stupid-about-markup-functions-tp165849p165852.html
Sent from the User mailing list archive at Nabble.com.