lilypond-user
[Top][All Lists]
Advanced

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

Re: Customizing ottava text


From: Urs Liska
Subject: Re: Customizing ottava text
Date: Wed, 15 Feb 2017 22:01:16 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.6.0


Am 15.02.2017 um 21:55 schrieb Kieren MacMillan:
> Hi Urs,
>
>> is it really true that the text of the OttavaBracket can't be customized?
> \version "2.19.48"
> \language "english"
>
> ottTest =
> \once \override Staff.OttavaBracket.before-line-breaking =
>     #(lambda (grob) (ly:grob-set-property! grob 'text "testing"))
>
> { \ottTest \ottava #1 c'' }

Clicking through to "text-interface" I also found the 'text property,
but overriding it didn't seem to have an effect.

>
>> I can’t believe that it is really necessary to go that long way for a 
>> seemingly simple task.
> +1 (even with my hack)

Additionally, I'm not sure if I could tweak this approach to actually
work with my requirements ...

Urs


>
> Kieren.
> ________________________________
>
> Kieren MacMillan, composer
> ‣ website: www.kierenmacmillan.info
> ‣ email: address@hidden
>

-- 
address@hidden
https://openlilylib.org
http://lilypondblog.org




reply via email to

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