Robert Schmaus <robert.schm...@web.de> writes:

> Ok, how about this example then:
>
> \version "2.14.2"
>
> #(define-markup-command (jcRaise layout props jcText) (markup?)
>     (interpret-markup layout props
>       (markup #:raise 1.5 #:smaller #:smaller #:smaller jcText )
>     )
>   )
>
>   #(define-markup-command (jcStack layout props jcHi jcLo) (markup?
> markup?)
>     (interpret-markup layout props
>     #{ \markup{ $jcHi $jcLo } #}
>     )
>   )
>
>
> \relative c'' {
>       
>       % fine:
>       c1-\markup{\jcRaise "XXX"}
>
>       % those two don't work:
>       c1-\markup{ \jcStack{"x"}{"y"} }
>       c1-\markup{ \jcStack "x" "y" }
> }
>
> The definition of \jcRaise works fine. Of course, the definition of
> \jcStack will be different later, for now, I'd just like it to work in
> this simple example.
> Sorry for the confusion ...

For my version of Lilypond (admittedly a recent one), the _second_ of
the two calls of \jcStack works.  The _first_ one doesn't, as you don't
give markups but rather markup lists to \jcStack.

-- 
David Kastrup


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

Reply via email to