|
Has anyone had any joy regarding/ideas for this?
I'm at rather an impass at to how I might progress.
Cheers,
Stewart
----- Original Message -----
From: Stewart Holmes
Sent: Monday, August 07, 2006 3:11 PM
Subject: TextSpanner misbehaving? Greetings,
It seems that, under certain circumstances,
TextSpanner misbehaves. Bug or not, this is probably my fault for bad
organisation. I attach a .ly file that shows this in effect.
Notice how the TextSpanner doesn't extend to
its full duration. Now recompile the file, but remove the line, \context Voice =
"2" { \voiceTwo \pedal }, and notice how the TextSpanner functions
correctly.
Since the problem disappears when I comment out
this line, I think that this problem is due to the way my polyphony is arranged.
I can't, however, see a better way. I need three voices for the notes
themselves, and then another one for the dynamics/textspanners/other
markings.
Thanks for your time,
Stewart
|
\version "2.8.0"
top = \relative c''
{
\repeat unfold 3 { g,,32 g'' g g g,32 g' g g g,32 g' g g g,32 g' g g g,32 g' g g g,32 g' g g}
}
pedal = \relative c'
{
g,2. | g | g |
}
bottom = \relative c'
{
\repeat unfold 3 { s8 g g g g g | }
}
dynamics = \relative { s2.\p }
fingering = \relative { s2.^\markup "fingering" }
barring = \relative
{
\override TextSpanner #'edge-text = #'("start" . "end")
\override TextSpanner #'padding = #6
s2.\startTextSpan | s2. | \break s2 s8 s16 s32 s\stopTextSpan |
}
<<
\context Staff = guitar
{
\clef "G_8"
\time 3/4
#(override-auto-beam-setting '(end * * * *) 1 4 'Staff)
#(override-auto-beam-setting '(end * * * *) 1 2 'Staff)
#(override-auto-beam-setting '(end * * * *) 3 4 'Staff)
\override Staff.NoteCollision #'merge-differently-headed = ##t
\override Staff.NoteCollision #'merge-differently-dotted = ##t
<<
\context Voice = "1" { \voiceOne \top }
%%%remove the line below, and the textspanner works correctly
\context Voice = "2" { \voiceTwo \pedal }
\context Voice = "4" { \voiceFour \bottom }
\context Voice = "3" { \voiceThree << \dynamics \\ << \fingering \\ \barring >> >> }
>>
}
>>
_______________________________________________ lilypond-user mailing list [email protected] http://lists.gnu.org/mailman/listinfo/lilypond-user
