Re: \offset Y-offset

2020-02-18 Thread Trevor Bača
On Tue, Jan 21, 2020 at 4:30 AM Aaron Hill wrote: > On 2020-01-19 7:15 am, Paolo Prete wrote: > > I'm looking at your code and I don't understand what is it intended to > > do. > > You write: "% Test with bracket that is positioned by Y-offset." > > but from what I see, the bracket is positioned

visualize-staff-padding (was \offset Y-offset)

2020-02-05 Thread Paolo Prete
Hello Aaron, as you can see in the following code, your (great and useful) function, which visualizes the staff-padding of a grob, fails if I set an outside-staff-priority for a TupletBracket. Is there a fix for this? Thank you very much Best, Paolo %% #(define line-thickness 0.2)

visualize-padding (was: \offset Y-offset)

2020-01-22 Thread Paolo Prete
To Aaron (and any other helpful contributor): As you can see in the below snippet, the visualize-padding function you so kindly provided, doesn't work in some cases with TupletBracket. Here is a snippet where the bug occurs. The problem is associated with:

Re: \offset Y-offset

2020-01-21 Thread Carl Sorensen
On 1/21/20, 2:29 AM, "Aaron Hill" wrote: On 2020-01-19 7:15 am, Paolo Prete wrote: > I'm looking at your code and I don't understand what is it intended to > do. > You write: "% Test with bracket that is positioned by Y-offset." > but from what I see, the bracket is

Re: \offset Y-offset

2020-01-21 Thread Kieren MacMillan
Aaron, Brilliant and impressive! 1. You continue to be my patronus. Really amazing work here. 2. Modulo exhaustive testing in real-world situations, you seem (in the final attempt) to have solved the problem completely — bravo! 3. One thing your example/doc strongly reinforces is a

Re: \offset Y-offset

2020-01-21 Thread Paolo Prete
On Tue, Jan 21, 2020 at 10:30 AM Aaron Hill wrote: > On 2020-01-19 7:15 am, Paolo Prete wrote: > > I'm looking at your code and I don't understand what is it intended to > > do. > > You write: "% Test with bracket that is positioned by Y-offset." > > but from what I see, the bracket is

Re: \offset Y-offset

2020-01-21 Thread Pierre Perol-Schneider
Wouahoo, nice job Aaron! Cheers, Pierre Le mar. 21 janv. 2020 à 10:30, Aaron Hill a écrit : > On 2020-01-19 7:15 am, Paolo Prete wrote: > > I'm looking at your code and I don't understand what is it intended to > > do. > > You write: "% Test with bracket that is positioned by Y-offset." > > but

\offset Y-offset (was: Distance of a grob from its reference point)

2020-01-19 Thread Paolo Prete
;mark" \ottava 1 a8( 8) 4 \ottava 0 a,2 } shiftOttavaBracket = #(define-music-function (amount) (number?) (let ((half (/ amount 2))) #{ \offset Y-offset #half Staff.OttavaBracket \override Staff.OttavaBracket.outside-staff-padding = #(+ 0.46 half) \override Staff.O