[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lengthening broken ties
From: |
Thomas Morley |
Subject: |
Re: lengthening broken ties |
Date: |
Wed, 4 Feb 2015 00:05:59 +0100 |
2015-02-03 14:40 GMT+01:00 Werner LEMBERG <address@hidden>:
>
> Folks,
>
>
> I'm trying to work around an old problem of broken ties in tightly
> setted music: They can degenerate to a dot, having no horizontal
> extensions anymore. Following the example in section `Difficult
> tweaks' of the notation reference (with slight changes to change the
> property for all siblings but the first one), I tried this:
>
> #(define (set-minimum-length grob)
> (let* ((orig (ly:grob-original grob))
> (siblings (if (ly:grob? orig)
> (ly:spanner-broken-into orig)
> '())))
> (if (and (> (length siblings) 1)
> (not (eq? (car siblings) grob)))
> (ly:grob-set-property! grob 'minimum-length 20))))
>
> \paper {
> indent = 0
> line-width = 50\mm
> ragged-right = #f
> }
>
> {
> \override Tie.after-line-breaking = #set-minimum-length
> c''1 ~ \break
> c''1
> }
>
> However, this has no effect. I guess this is because because the
> `after-line-breaking' callback is invoked too late in the formatting
> process.
>
> Is there a possibility to make this work?
>
>
> Werner
Hi Werner,
I've found no way to make it work.
Why not tackle the NoteColumn instead?
\version "2.19.15"
\paper {
indent = 0
line-width = 50\mm
ragged-right = #f
}
{
c''1 ~ \break
\once \override Score.NoteColumn.X-offset = 2 %% or whatever
c''4 c'' c'' c''
}
Cheers,
Harm
- Re: lengthening broken ties, (continued)
- Re: lengthening broken ties, Werner LEMBERG, 2015/02/04
- Re: lengthening broken ties, David Nalesnik, 2015/02/05
- Re: lengthening broken ties, Werner LEMBERG, 2015/02/15
- Re: lengthening broken ties, David Nalesnik, 2015/02/15
- Re: lengthening broken ties, Werner LEMBERG, 2015/02/16
- Re: lengthening broken ties, David Nalesnik, 2015/02/16
- Re: lengthening broken ties, David Nalesnik, 2015/02/16
Re: lengthening broken ties,
Thomas Morley <=