#### 3.7.1 Slurs

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

They are entered using parentheses

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

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. Its value is a pair of symbols, specifying the attachment type of the left and right end points

>          \slurUp
>          \override Stem #'length = #5.5
>          g'8(g g4)
>          \override Slur #'attachment = #'(stem . stem)
>          g8( g g4)

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..)
>          \override Slur #'attachment = #'(stem . stem)
>          d,32( d'4 d8..)

##### Predefined commands

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

##### See also

Program reference: Slur, and SlurEvent.

##### Bugs

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

Read comments on this page, or add one. This page is for LilyPond-2.2.2 (stable-branch).