Can a markup command introspect its direction ?

Is it possible to set in a markup command some conditionals (not paper
related) ?

\version "2.25.15"

#(define-markup-command (conditionalMrkp layout props)
   ()
   (interpret-markup layout props #{
     \markup {
       %\if #DOWN
       "↑"
       %\if #UP
       "↓"
                     }#}))

{b'^\markup \conditionalMrkp b'_\markup \conditionalMrkp}


-- 
*Pierre-Luc Gauthier*

Reply via email to