[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: text spanning
From: |
Alexander Kobel |
Subject: |
Re: text spanning |
Date: |
Thu, 26 Nov 2009 16:10:03 +0100 |
User-agent: |
Thunderbird 2.0.0.23 (X11/20090817) |
Hugh Myers wrote:
The following fails twice over; it leaves out the indicated text and
ignores \textSpannerDown:
Hi.
Both \textSpannerDown and the override is applied to the /current/ Voice
context (which is the unnamed default Voice quietly instantiated inside
the Staff context). Thus, it is not regarded by the Voice = "1" context
created afterwards.
Moving the two commands into the Voice = "1" construct works as expected:
\version "2.13.7"
upper = {
c4 d e \startTextSpan f % polyphonic
g4 a b c % monophonic, see below
b4 \stopTextSpan g e c % polyphonic again
}
lower = {
c,2 g2 % polyphonic
s1 % a spacer "disables" this voice tamporarily
g2 c2 % and here we are again.
}
customOverrides = {
\textSpannerDown
\override TextSpanner #'(bound-details left text) = "let ring "
}
<<
\new Staff \relative c'' {
<<
\new Voice = "1" { \customOverrides \voiceOne \upper }
\new Voice = "2" { \voiceTwo \lower }
>>
}
\new TabStaff \relative c' {
<<
\new TabVoice = "t1" { \voiceOne \upper }
\new TabVoice = "t2" { \voiceTwo \lower }
>>
}
- text spanning, Hugh Myers, 2009/11/25
- text spanning, Hugh Myers, 2009/11/26
- text spanning, Hugh Myers, 2009/11/27
- Re: text spanning, -Eluze, 2009/11/27
- Re: text spanning, Hugh Myers, 2009/11/27
- Re: text spanning, -Eluze, 2009/11/27
- Re: text spanning, Nick Payne, 2009/11/27
- Re: text spanning, Hugh Myers, 2009/11/27
- Re: text spanning, Hugh Myers, 2009/11/27
- Re: text spanning, Nick Payne, 2009/11/27