You have clearly found a counter example to what is supposed to be shown in the example phrasing-slur-slur-avoid.ly of the Regression Test document. I forward it to the bug-lilypond mailing list.
/Mats
Karl Hammar wrote:
[EMAIL PROTECTED]:
...
Hello, here is a peace of the first Sonata for clarinet and piano of Brahms.
\version"2.4.2" \include"english.ly" \relative c'' { \set Staff.TimeSignature = ##f \time 3/4 \key bf \major c4.\( ( ef8) d4~( | d8 b) c4.( g8) \) bf2 r4 | af2 r4 | g4 \f r4 r4 }
As you can see in the png attached file, the phrasing slur collide with the other. I search the doc and mailing list but can't find the "beautiful" adjustment for slur. What can I do ?
Strange, if I just take the slurs part, all is well (adding a % before the bf2):
%------------------------------ \version"2.4.2" \include"english.ly" \relative c'' { \set Staff.TimeSignature = ##f \time 3/4 \key bf \major c4.\( ( ef8) d4~( | d8 b) c4.( g8) \) % bf2 r4 | af2 r4 | g4 \f r4 r4 } %------------------------------
I had a similar situation with a choir piece. The solution a reverted to then, was to make the phrasing slur go below (using _\( instead of \(). Not what what I really wanted, but I got rid of the collisions.
%------------------------------ \version"2.4.2" \include"english.ly" \relative c'' { \set Staff.TimeSignature = ##f \time 3/4 \key bf \major c4._\( ( ef8) d4~( | d8 b) c4.( g8) \) | bf2 r4 | af2 r4 | g4 \f r4 r4 } %------------------------------
The settings below might help you.
%------------------------------ \version"2.4.2"
\layout { raggedright = ##t }
aa = \relative c'' { \time 3/4 \key bes \major c4.\( ( es8) d4~( | d8 b) c4.( g8) \) | bes2 r4 | as2 r4 | g4 \f r4 r4 }
\score { << \override Score.PhrasingSlur #'height-limit = #3.0 \override Score.PhrasingSlur #'ratio = #5.0 \override Score.PhrasingSlur #'extra-offset = #'(0 . 0.7) \new Staff { \aa } >> } %------------------------------
Regards, /Karl
----------------------------------------------------------------------- Karl Hammar Asp� Data [EMAIL PROTECTED] Lilla Asp� 2340 Networks S-742 94 �sthammar +46 173 140 57 Computers Sweden +46 70 511 97 84 Consulting -----------------------------------------------------------------------
_______________________________________________ lilypond-user mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user
-- ============================================= Mats Bengtsson Signal Processing Signals, Sensors and Systems Royal Institute of Technology SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe =============================================
_______________________________________________ lilypond-user mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user
