lilypond-user
[Top][All Lists]
Advanced

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

Question about Scheme's syntax


From: Paolo Prete
Subject: Question about Scheme's syntax
Date: Wed, 4 Sep 2024 21:42:56 +0200

Hello,

Given:

floating-markup = #(define-scheme-function (parser location x y obj) (number? number? scheme?)
                                  #{
                                    \markup \with-dimensions #'(0 . 0) #'(0 . 0){
                                      \override #'(baseline-skip . 0)
                                      \translate #(cons x y)
                                      #obj
                                    }
                                  #})
                                 
I can invoke it with:

\floating-markup 15 -60 "some string"

But how can I pass to the same function the following _expression_: { \circle 5 } as #obj?

Something like (pseudo-syntax) :

\floating-markup 15 -60 #{ \circle 5 #}

...


Thanks!

reply via email to

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