All,

I'm trying to utilize the \score markup command within a custom
define-markup-command that accepts a music expression, but I can't figure
out how. I'm probably missing something obvious, but here's a minimal
example:

%%%%%%%%%%%%

\version "2.19.36"

\markup {
  I know I can do this:
  \score {
    \relative c'' { c8[ c] }
  }
}

#(define-markup-command (ezscore layout props mus) (ly:music?)
  (interpret-markup layout props
    #{
      \markup {
        \score {
          \relative c'' { #mus }
        }
      }
    #}))

\markup { But I'd like to do this: \ezscore { c8[ c] } }

%%%%%%%%%%%%

Any suggestions?

- Abraham
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to