Arpeggio collision bug

2011-04-06 Thread 胡海鹏 - Hu Haipeng
Hello,
  I'm coming to the final adjustment of my overture while a bug troubles me so 
much. In the below harp excerpt, the arpeggio sign collides with the a'4 
natural of the treble.

Regards
Haipeng

 



\version "2.13.57"

  \paper {
ragged-right = ##t
  }

  upper = \relative c'' {
\clef treble \key ees \major \time 4/4
\showStaffSwitch
s2 4\arpeggio r |
  }

  lower = \relative c, {
\clef bass \key ees \major \time 4/4
\times 2/3 { fis8( e' a } \change Staff = "r"  \times 2/3 { c e a) } \change Staff = "l" 4\arpeggio r |
  }

  dyn = { s1\mf }

  \score {
\new PianoStaff <<
  \set PianoStaff.connectArpeggios = ##t
  \new Staff = "r" { \upper }
  \new Dynamics { \dyn }
  \new Staff = "l" { \lower }
>>
\layout {}
  }

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Arpeggio collision bug

2011-04-07 Thread Robin Bannister
Hu Haipeng wrote: 

 the arpeggio sign collides with the a'4 natural of the treble
  
  
It is as if the arpeggio code doesn't notice the staff change. 
  
Here is a workaround which doesn't prevent a collision but disguises it. 
Insert a transparent breathing sign after s2 in the right hand: 
  
  
\once \override BreathingSign #'transparent = ##t \breathe
  
  
Cheers, 
Robin
<>___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re:Re: Arpeggio collision bug

2011-04-07 Thread 胡海鹏 - Hu Haipeng
Dear Robin,

> It is as if the arpeggio code doesn't notice the staff change.
> Here is a workaround which doesn't prevent a collision but disguises it.
> Insert a transparent breathing sign after s2 in the right hand:
> \once \override BreathingSign #'transparent = ##t \breathe
  
Thanks, but unfortunately, this doesn't work at all. The hidden breathe sign 
strangely leaves an apostrophe like sign on the score, and the collision 
remains. Here's my workaround, but still hope it considered as a bug and solved 
as automatically shifting the arpeggio and the notecolumn right to prevent 
collision.

Haipeng

**

\version "2.13.57"

  \paper {
ragged-right = ##t
  }

  upper = \relative c'' {
\clef treble \key ees \major \time 4/4
\showStaffSwitch
s2 s8 4*1/2\arpeggio r4 |
  }

  lower = \relative c, {
\clef bass \key ees \major \time 4/4
\times 2/3 { fis8( e' a } \change Staff = "r"  \times 2/3 { c e a) } 
\change Staff = "l" s8 4*1/2\arpeggio r4 |
  }

  dyn = { s1\mf }

  \score {
\new PianoStaff <<
  \set PianoStaff.connectArpeggios = ##t
  \new Staff = "r" { \upper }
  \new Dynamics { \dyn }
  \new Staff = "l" { \lower }
>>
\layout {}
  }

 ___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Arpeggio collision bug

2011-04-08 Thread Robin Bannister
Hu Haipeng wrote: 
 this doesn't work at all. 
 The hidden breathe sign strangely leaves an apostrophe like sign 
  
  
This apostrophe is the breathe glyph; so I suppose the #'transparent 
override wasn't being effective.  My workaround did work for your snippet 
(as my attachment for sighted readers demonstrated) but maybe it fails in 
the context of your complete score.  It fails if you put it in both hands! 
  
  
I am glad you have found a more reliable workaround, if somewhat fiddlier. 
And disregard my suspicion regarding staff change; this constellation is to 
be found in issue 601. 
http://code.google.com/p/lilypond/issues/detail?id=601 
  
The hint there by Valentin regarding #'infinite-spacing-height is outdated 
and would now read like 
  
\override PianoStaff.Arpeggio #'extra-spacing-height = #'(-inf.0 . +inf.0)
  
  
Cheers, 
Robin 



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user