lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: polyphonic startTextSpan


From: Nick Payne
Subject: Re: polyphonic startTextSpan
Date: Wed, 09 Feb 2011 14:54:32 +1100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7

On 09/02/11 13:42, Peter Buhr wrote:
I want "rit." to be under the fs/e, and the span line to go all the way to the
final gs *below* the markup "XII harmonics". However, I can't find a place to
start the textspan. Help!!

Have both voices existing for the full duration, with spacer notes in one voice:

\version "2.13.48"
\include "english.ly"
#(set-default-paper-size "letter")
#(set-global-staff-size 24)
#(define RH rightHandFinger)
melody = \relative c {
    \time 2/4
<< {
        \stemDown \textSpannerDown
        \once \override TextSpanner #'(bound-details left text) = "rit."
        \once \override TextSpanner #'outside-staff-priority = #999
        e,8\startTextSpan b' fs' gs |
        \time 4/4 \stemNeutral
        \override NoteHead #'style = #'cross
<e\6>4_\markup{XII harmonics} <e''\1> <b\2>
        \revert NoteHead #'style <e,\1> <gs\2>1\stopTextSpan }
    \\ {
        \stemUp fs,8 gs b e |
        \time 4/4 s1 s
    } >>
    \bar "|."
}
\score {
    \new Staff \with {
        \override TextSpanner #'style = #'solid-line
        \override Fingering #'staff-padding = #'()
    } <<
        \clef "treble_8"
        \key c \major \time 4/4
        \context Voice = one \melody
>>
}

Attachment: test.preview.png
Description: PNG image


reply via email to

[Prev in Thread] Current Thread [Next in Thread]