[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: can't seem to apply tweaks on tweaks
From: |
David Kastrup |
Subject: |
Re: can't seem to apply tweaks on tweaks |
Date: |
Wed, 30 Dec 2015 10:06:52 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
Kieren MacMillan <address@hidden> writes:
> Hi David,
>
>> Unless you actually follow up with an example of what you are
>> actually doing which does not work as expected,
>> it will be impossible to tell just what you are doing wrong.
>
> %%%% SNIPPET BEGINS
> \version "2.19.32"
>
> eightva = \markup \italic \concat { "8" \raise #0.5 { \hspace #0.25 "va" }
> \hspace #0.5 }
> octU_single = {
> \once \override Staff.OttavaBracket.stencil = #ly:line-spanner::print
> \once \override Staff.OttavaBracket.bound-details =
> #`((left . ((X . -1) (Y . 0) (padding . -0.5) (stencil-align-dir-y .
> ,0.85)))
> (right . ((X . 2) (Y . 0) (padding . -1.5) (text .
> ,(make-draw-line-markup (cons 0 -1))))))
> \once \override Staff.OttavaBracket.font-shape = #'roman
> \once \override Staff.OttavaBracket.bound-details.left.text = \eightva
> \once \override Staff.OttavaBracket.left-bound-info =
> #ly:line-spanner::calc-left-bound-info-and-text
> \once \override Staff.OttavaBracket.right-bound-info =
> #ly:line-spanner::calc-right-bound-info
> \ottava #1
> }
>
> testing = {
> \octU_single c''''1
> }
>
> \score { \testing }
>
> "testing2" = {
> \once \override OttavaBracket.shorten-pair = #'(-10 . -10) \octU_single
> c''''1
> }
>
> \score { \"testing2” }
> %%%% SNIPPET ENDS
>
> Note how the #'shorten-pair adjustment doesn’t seem to be applied.
OttavaBracket is engraved at Staff level, here you override it at Voice
level. The Ottava_spanner_engraver never gets to see your override.
Why do you think you wrote Staff.OttavaBracket in octU_single all the
time?
--
David Kastrup
- can't seem to apply tweaks on tweaks, Kieren MacMillan, 2015/12/29
- Re: can't seem to apply tweaks on tweaks, David Kastrup, 2015/12/29
- Re: can't seem to apply tweaks on tweaks, Kieren MacMillan, 2015/12/29
- Re: can't seem to apply tweaks on tweaks,
David Kastrup <=
- Re: can't seem to apply tweaks on tweaks, Kieren MacMillan, 2015/12/30
- Re: can't seem to apply tweaks on tweaks, Thomas Morley, 2015/12/30
- Re: can't seem to apply tweaks on tweaks, Kieren MacMillan, 2015/12/30
- Re: can't seem to apply tweaks on tweaks, David Kastrup, 2015/12/30
- Re: can't seem to apply tweaks on tweaks, Kieren MacMillan, 2015/12/30
- Re: can't seem to apply tweaks on tweaks, David Kastrup, 2015/12/30
- Re: can't seem to apply tweaks on tweaks, Kieren MacMillan, 2015/12/30
- Re: can't seem to apply tweaks on tweaks, David Kastrup, 2015/12/30
- Re: can't seem to apply tweaks on tweaks, Thomas Morley, 2015/12/30
- Re: can't seem to apply tweaks on tweaks, Thomas Morley, 2015/12/30