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: Mon, 15 Jul 2019 08:12:57 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

Robin Bannister wrote:

One explanation is that
    - concat wants to be given (markup-list?)
    - general-align wants to be given (markup?)
So the two should be swapped:
      #(markup #:general-align Y UP #:concat ("16" #:teeny "ma"))


This of course implies that your #{ #} version shouldn't work either.
But there is maybe some automagic at work here ?
   - like the automatic application of \line when omitted before { }

Oh dear, that was half-baked thinking.
Markup lists have tripped me up yet again.

It is normal 'automagic' for
   \box { "X" "Y" "Z"}
to be mapped into
   { \box "X" \box "Y" \box "Z" }
giving you 3 boxes in a markup list
to which \concat can be applied.

So that mapping mechanism will do the same for
   \general-align Y UP
as it does for \box.



The non-mapping cases
   \markup \box \concat { "X" "Y" "Z" }
and
   #(markup #:box #:concat ("X" "Y" "Z"))
give one box without complaints


The mapping case
   \markup \concat \box { "X" "Y" "Z" }
gives 3 boxes without complaint, but
   #(markup #:concat #:box ("X" "Y" "Z"))
is errored.

Reformulating it as
   #(markup (make-concat-markup (make-box-markup ("X" "Y" "Z"))))
is also errored.

And here I get stuck, just like the markup-list does.


Cheers,
Robin



reply via email to

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