lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: vertical position of OttavaBracket


From: Robin Bannister
Subject: Re: vertical position of OttavaBracket
Date: Sun, 14 Jul 2019 16:21:14 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

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)))




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'


It seems that 2.21.0 doesn't know about ottavaText either.

So, referring to
https://lists.gnu.org/archive/html/lilypond-user/2017-02/msg00406.html
you could try
 - including Harm's code from there (see attachment)
 - renaming ottavationMarkups to ottavaText


Cheers,
Robin

Attachment: ottavaText.ily
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]