Am 14.07.19 um 16:21 schrieb Robin Bannister:
Malte Meyn wrote:


How can this made be top- or bottom-aligned (or aligned depending
according to the 'direction property)?

Inside a #(define-markup-command (command-name layout props arg1 arg2 …)
you can collect 'direction as follows:
   (let* ((dir-prop (chain-assoc-get 'direction props  1)))

It seems as if my question was unclear here: How could the dashed line (not the text) be aligned different?

P. S.: I tried Scheme syntax for the markups in the code above but
    #(markup #:concat #:general-align Y UP ("16" #:teeny "ma"))
doesn’t work. What am I doing wrong?

Well, you get the error:
warning: cannot find property type-check for `ottavationMarkups'

That’s a new feature I would like to add, that’s why I commented it out ;) The feature itself works, and
        #{ \markup \concat \general-align #Y #UP { "16" \teeny "ma" } #}
works but
        (markup #:concat #:general-align Y UP ("16" #:teeny "ma"))
doesn’t and I don’t know why …

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

Reply via email to