Node: Slurs, Next: , Up: Expressive marks



Slurs

A slur indicates that notes are to be played bound or legato.

Syntax

They are entered using parentheses:

       f( g)( a) a8 b( a4 g2 f4)
       <c e>2( <b d>2)
     

[picture of music]

Slurs avoid crossing stems, and are generally attached to note heads. However, in some situations with beams, slurs may be attached to stem ends. If you want to override this layout you can do this through the object property attachment of Slur in Voice context. Its value is a pair of symbols, specifying the attachment type of the left and right end points:

       \slurUp
       \property Voice.Stem \set #'length = #5.5
       g'8(g g4)
       \property Voice.Slur \set #'attachment = #'(stem . stem)
       g8( g g4)
     

[picture of music]

If a slur would strike through a stem or beam, the slur will be moved away upward or downward. If this happens, attaching the slur to the stems might look better:

       \stemUp \slurUp
       d32( d'4 d8..)
       \property Voice.Slur \set #'attachment = #'(stem . stem)
       d,32( d'4 d8..)
     

[picture of music]

Predefined commands

\slurUp, \slurDown, \slurBoth, \slurDotted, \slurSolid.

See also

Slur, and SlurEvent.

Bugs

Producing nice slurs is a difficult problem, and LilyPond currently uses a simple, empiric method to produce slurs. In some cases, its results are ugly.


This page is for LilyPond-2.0.1 (stable-branch).

Report errors to <bug-lilypond@gnu.org>.