[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: hairpin across line breaks is placed too high on the second line
From: |
Patrick McCarty |
Subject: |
Re: hairpin across line breaks is placed too high on the second line |
Date: |
Tue, 27 May 2008 13:40:54 -0700 |
On Mon, May 26, 2008 at 10:20 AM, Neil Puttock wrote:
>
> A rather inelegant workaround would be to use a callback with
> 'extra-offset (ugh), like the one detailed in 7.7.2 Difficult tweaks:
>
> #(define (my-callback grob)
> (let* (
> ; have we been split?
> (orig (ly:grob-original grob))
>
> ; if yes, get the split pieces (our siblings)
> (siblings (if (ly:grob? orig)
> (ly:spanner-broken-into orig) '() )))
>
> (if (and (>= (length siblings) 2)
> (eq? (car (last-pair siblings)) grob))
> (ly:grob-set-property! grob 'extra-offset '(0 . -1.8)))
> ly:hairpin::after-line-breaking))
>
> \once \override Hairpin #'after-line-breaking = #my-callback
Hi Neil,
Do you know if this is the only way the 'after-line-breaking property
can be manually tweaked? There is some text in NR 1.3.1.2 (Dynamics):
****
Crescendi and decrescendi that cross a line break will be continued on
the second line. If they end on the first note of a new line, nothing
will be printed on that line. To change this behavior, use
\override Score.Hairpin #'after-line-breaking = ##t
****
Is this tweak no longer valid? I wanted to see if anyone can
enlighten me about this, so I can decide whether to remove (or keep)
this information in NR 1.3.1.2.
Thanks,
Patrick