[Top][All Lists]

[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
you could try
 - including Harm's code from there (see attachment)
 - renaming ottavationMarkups to ottavaText


Attachment: ottavaText.ily
Description: Text document

reply via email to

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