Re: broken TextSpanner
Hi Kieren, Thank you! Now I get it. -David - Original Message - > From: "Kieren MacMillan" > To: "bobroff" > Cc: "Lillypond Users Mailing List" > Sent: Saturday, March 20, 2021 11:43:14 PM > Subject: Re: broken TextSpanner > Hi David, > >> Thanks for chiming in. I don’t really follow, though. I poked around a bit >> and >> see that left/right-broken seems to be associated with line-spanners. I >> thought I was dealing with a text spanner. > > TextSpanner implements the same [relevant] interfaces: > > %%% SNIPPET BEGINS %%% > justLR = { > \override TextSpanner.bound-details.left.text = \markup{\dynamic "mf" "dim."} > \override TextSpanner.bound-details.right.text = \markup{ \dynamic "pp" } > \override TextSpanner.breakable = ##t > } > brokenLR = { > \override TextSpanner.bound-details.left.text = \markup{\dynamic "mf" "dim."} > \override TextSpanner.bound-details.right-broken.text = ##f > \override TextSpanner.bound-details.left-broken.text = ##f > \override TextSpanner.bound-details.right.text = \markup{ \dynamic "pp" } > \override TextSpanner.breakable = ##t > } > > { \justLR c''1\startTextSpan \break c''2 c''\stopTextSpan } > > { \brokenLR c''1\startTextSpan \break c''2 c''\stopTextSpan } > %%% SNIPPET ENDS %%% > > Hope that helps! > Kieren. > > > Kieren MacMillan, composer (he/him/his) > ‣ website: www.kierenmacmillan.info > ‣ email: kie...@kierenmacmillan.info
Re: broken TextSpanner
Hi David, > Thanks for chiming in. I don’t really follow, though. I poked around a bit > and see that left/right-broken seems to be associated with line-spanners. I > thought I was dealing with a text spanner. TextSpanner implements the same [relevant] interfaces: %%% SNIPPET BEGINS %%% justLR = { \override TextSpanner.bound-details.left.text = \markup{\dynamic "mf" "dim."} \override TextSpanner.bound-details.right.text = \markup{ \dynamic "pp" } \override TextSpanner.breakable = ##t } brokenLR = { \override TextSpanner.bound-details.left.text = \markup{\dynamic "mf" "dim."} \override TextSpanner.bound-details.right-broken.text = ##f \override TextSpanner.bound-details.left-broken.text = ##f \override TextSpanner.bound-details.right.text = \markup{ \dynamic "pp" } \override TextSpanner.breakable = ##t } { \justLR c''1\startTextSpan \break c''2 c''\stopTextSpan } { \brokenLR c''1\startTextSpan \break c''2 c''\stopTextSpan } %%% SNIPPET ENDS %%% Hope that helps! Kieren. Kieren MacMillan, composer (he/him/his) ‣ website: www.kierenmacmillan.info ‣ email: kie...@kierenmacmillan.info
Re: broken TextSpanner
Kieren, Thanks for chiming in. I don’t really follow, though. I poked around a bit and see that left/right-broken seems to be associated with line-spanners. I thought I was dealing with a text spanner. -David - Kieren MacMillan wrote: > Hi David, > > You need to adjust the left-broken and right-broken parameters. > > Hope that helps! > Kieren. > > > On Mar 20, 2021, at 1:03 PM, bobr...@centrum.is wrote: > > > > Somewhere in the docs I ran across this structure (v2.20 or v2.22). I have > > not been able to find it again: > > > > \override TextSpanner.bound-details.left.text = \markup{\dynamic "mf" > > "dim."} > > \override TextSpanner.bound-details.right.text = \markup{ \dynamic "pp" } > > \override TextSpanner.breakable = ##t > > > > An example showed how this produced a mezzo-forte with 'dim.' at > > \startTextSpan and after the line break the end note with 'pp' at > > \stopTextSpan. > > > > What I get is "mf dim."..'pp' > > > > line break > > > > 'mfdimpp' all jammed together and overlapping under the note after the > > break. > > > > Is such a thing possible as in the above code or do I need to work around > > this some other way? > > > > -David > > > Kieren MacMillan, composer (he/him/his) > ‣ website: www.kierenmacmillan.info > ‣ email: kie...@kierenmacmillan.info >
Re: broken TextSpanner
Hi David, You need to adjust the left-broken and right-broken parameters. Hope that helps! Kieren. > On Mar 20, 2021, at 1:03 PM, bobr...@centrum.is wrote: > > Somewhere in the docs I ran across this structure (v2.20 or v2.22). I have > not been able to find it again: > > \override TextSpanner.bound-details.left.text = \markup{\dynamic "mf" "dim."} > \override TextSpanner.bound-details.right.text = \markup{ \dynamic "pp" } > \override TextSpanner.breakable = ##t > > An example showed how this produced a mezzo-forte with 'dim.' at > \startTextSpan and after the line break the end note with 'pp' at > \stopTextSpan. > > What I get is "mf dim."..'pp' > > line break > > 'mfdimpp' all jammed together and overlapping under the note after the break. > > Is such a thing possible as in the above code or do I need to work around > this some other way? > > -David Kieren MacMillan, composer (he/him/his) ‣ website: www.kierenmacmillan.info ‣ email: kie...@kierenmacmillan.info
broken TextSpanner
Somewhere in the docs I ran across this structure (v2.20 or v2.22). I have not been able to find it again: \override TextSpanner.bound-details.left.text = \markup{\dynamic "mf" "dim."} \override TextSpanner.bound-details.right.text = \markup{ \dynamic "pp" } \override TextSpanner.breakable = ##t An example showed how this produced a mezzo-forte with 'dim.' at \startTextSpan and after the line break the end note with 'pp' at \stopTextSpan. What I get is "mf dim."..'pp' line break 'mfdimpp' all jammed together and overlapping under the note after the break. Is such a thing possible as in the above code or do I need to work around this some other way? -David