lilypond-user
[Top][All Lists]
Advanced

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

Re: can't seem to apply tweaks on tweaks


From: Kieren MacMillan
Subject: Re: can't seem to apply tweaks on tweaks
Date: Wed, 30 Dec 2015 07:48:53 -0500

Hi Harm,

> Of course you should use Staff.OttavaBracket

Curiously,

   \once \override OttavaBracket.extra-offset …

[without the Staff context] works fine. (??)

> but in `octU_single’ OttavaBracket.stencil is set to ly:line-spanner::print
> which doesn’t support 'shorten-pair, as far as I know.

Is there a better (e.g., more flexible, or more post-hoc-tweakable) way to 
override the stencil?

> You would need to do:
> 
> "testing2" = {
>  \octU_single
>  \once \override Staff.OttavaBracket.bound-details.left.X = #-10
>  \once \override Staff.OttavaBracket.bound-details.right.X = #10
>  c''''1
> }
> 
> \score { \"testing2” }

Well that works great inline (thanks!), but not when applied via the 
edition-engraver. I realize this is not necessarily “native Lilypond”, and so 
might not be worth others’ time to investigate/consider, but…

It’s still quite confusing to me why

   \once \override OttavaBracket.extra-offset …

works perfectly, with or without the “Staff”, both inline and 
externally-applied, whereas

   \once \override Staff.OttavaBracket.bound-details.left.X …

requires the “Staff”, and can only be done inline. (At least I now understand 
why #’shorten-pair doesn’t work at all, under any circumstance, so thanks for 
that!)

These kinds of seemingly-arbitrary differences can be quite frustrating to me 
(with 15 years of Lilypond experience); I can only imagine how frustrating they 
are to new users.

Thanks,
Kieren.

> P.S. There were some typos in your post

That [smart quote] may have been added by my mail program. In any case, my 
apologies.
________________________________

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




reply via email to

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