|
From: | Malte Meyn |
Subject: | Re: vertical position of OttavaBracket |
Date: | Sun, 14 Jul 2019 19:04:04 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 |
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 …
[Prev in Thread] | Current Thread | [Next in Thread] |