Hi,

I’m interested in making the right endpoints of ottava brackets and trill
spanners coincide.

QUESTION: in ottava-1.png (attached) I like where the trill spanner ends;
is there a way to tell the ottava bracket to end at the same point?

Here’s the code that produces ottava-1.png:

\version "2.19.65"

\new Staff {
    \ottava #1
    c''4 \startTrillSpan
    d''
    e''
    f''
    \ottava #0
    \break

    c'4 \stopTrillSpan
    d'
    e'
    f'
}

Moving the lexical position of the close-ottava command (ottava-2.png)
doesn’t work:

\version "2.19.65"

\new Staff {
    \ottava #1
    c''4 \startTrillSpan
    d''
    e''
    f''
    \break

    c'4 \stopTrillSpan
    \ottava #0
    d'
    e'
    f'
}

OttavaBracket seems not to implement the to-barline property (in the
spanner-interface):

\version "2.19.65"

\new Staff {
    \override Staff.OttavaBracket.to-barline = ##t
    \ottava #1
    c''4 \startTrillSpan
    d''
    e''
    f''
    \ottava #0
    \break

    c'4 \stopTrillSpan
    d'
    e'
    f'
}

There’s also a (promising-sounding) connect-to-neighbor property in the
horizontal-bracket-interface. But I can’t figure out how to override
property, or whether OttavaBracket implements the property at all:

\version "2.19.65"

\new Staff {
    \override Staff.OttavaBracket.connect-to-neighbor = #'(#t . #t)
    \ottava #1
    c''4 \startTrillSpan
    d''
    e''
    f''
    \ottava #0
    \break

    c'4 \stopTrillSpan
    d'
    e'
    f'
}

Any solutions?

(Definitely not looking for a numeric hack to shorten-pair.)

Trevor.
​
-- 
Trevor Bača
www.trevorbaca.com
soundcloud.com/trevorbaca
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to