slur and tie collision

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

slur and tie collision

Martial-3
v2.8.1 win2k

They are collision with slur (up) or tie and musicglyph
prall, mordent, downbow etc... (not with trill)

\relative c'' {
    a'4\prall~a
    a\mordent ( a )
    a\longfermata (a )
    a\downbow ( a )
    a\trill ( a )
}

I use \markup to a tempory  solution

correctPos = ^\markup {\musicglyph #"scripts.prall" }

\relative c'' {
      a'\correctPos (  a)
}
--
Martial
http://cathemline.org



_______________________________________________
bug-lilypond mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/bug-lilypond

collision_slur_musicgliph1.jpg (15K) Download Attachment
collision_slur_musicgliph2.jpg (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: slur and tie collision

Mats Bengtsson-4
Read in "Common Tweaks" on how to change the padding property
of the Script layout object to solve the problem.

   /Mats

Martial wrote:

> v2.8.1 win2k
>
> They are collision with slur (up) or tie and musicglyph
> prall, mordent, downbow etc... (not with trill)
>
> \relative c'' {
>    a'4\prall~a
>    a\mordent ( a )
>    a\longfermata (a )
>    a\downbow ( a )
>    a\trill ( a )
> }
>
> I use \markup to a tempory  solution
>
> correctPos = ^\markup {\musicglyph #"scripts.prall" }
>
> \relative c'' {
>      a'\correctPos (  a)
> }
> --
> Martial
> http://cathemline.org
>
>
>
> ------------------------------------------------------------------------
>
>
> ------------------------------------------------------------------------
>
>------------------------------------------------------------------------
>
>_______________________________________________
>bug-lilypond mailing list
>[hidden email]
>http://lists.gnu.org/mailman/listinfo/bug-lilypond
>  
>

--
=============================================
        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: [hidden email]
        WWW: http://www.s3.kth.se/~mabe
=============================================



_______________________________________________
bug-lilypond mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/bug-lilypond
Reply | Threaded
Open this post in threaded view
|

Re: slur and tie collision

Bugzilla from tyverho@cc.hut.fi
Another way is setting the 'avoid-slur property for the script. I don't
know if there is an easy way to override invidual script settings, this is
kind of a hack:

#(define set-script-property (lambda (script property value)
    (append! (cdr (assoc script default-script-alist))
       (list (cons property value)))))

#(set-script-property "prall" 'avoid-slur 'outside)
#(set-script-property "mordent" 'avoid-slur 'outside)
#(set-script-property "downbow" 'avoid-slur 'outside)
#(set-script-property "longfermata" 'avoid-slur 'outside)

\relative c'' {
    a'4\prall~a
    a\mordent ( a )
    a\longfermata (a )
    a\downbow ( a )
    a\trill ( a )
}

It helps with slurs, but not with ties, as the output shows.


- Tuukka


On Mon, 3 Apr 2006, Mats Bengtsson wrote:

> Read in "Common Tweaks" on how to change the padding property
> of the Script layout object to solve the problem.
>
>  /Mats
>
> Martial wrote:
>
>> v2.8.1 win2k
>>
>> They are collision with slur (up) or tie and musicglyph
>> prall, mordent, downbow etc... (not with trill)
>>
>> \relative c'' {
>>    a'4\prall~a
>>    a\mordent ( a )
>>    a\longfermata (a )
>>    a\downbow ( a )
>>    a\trill ( a )
>> }
>>
>> I use \markup to a tempory  solution
>>
>> correctPos = ^\markup {\musicglyph #"scripts.prall" }
>>
>> \relative c'' {
>>      a'\correctPos (  a)
>> }
>> --
>> Martial
>> http://cathemline.org
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>>
>> ------------------------------------------------------------------------
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> bug-lilypond mailing list
>> [hidden email]
>> http://lists.gnu.org/mailman/listinfo/bug-lilypond
>>
>
> --
> =============================================
> 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: [hidden email]
> WWW: http://www.s3.kth.se/~mabe
> =============================================
>
>
>
> _______________________________________________
> bug-lilypond mailing list
> [hidden email]
> http://lists.gnu.org/mailman/listinfo/bug-lilypond
>


_______________________________________________
bug-lilypond mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/bug-lilypond
Reply | Threaded
Open this post in threaded view
|

Re: slur and tie collision

Martial-3

 > #(define set-script-property ....

Thanks !
for the moment I keep the markup solution :-)

--
Martial
http://cathemline.org







_______________________________________________
bug-lilypond mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/bug-lilypond