[icon]

GNU LilyPond

-- --

What is LilyPond
Home
Examples
Templates
Download
GNU/Linux binaries
Windows binaries
Source code
Documentation
Tutorial
Manual
Glossary
Index

Support
Mailing lists
Search
WikiWiki

External sites
lilypond.org/stable
lilypond.org/development
savannah.gnu.org
ftp.lilypond.org
Mutopia
Other music online

Slurs

A slur indicates that notes are to be played bound or legato. They are entered using parentheses:

       f'-( g'-)-( a'-) [a'8 b'-(-] a'4 g'2 f'4-)
       <<c' e'>>2-( <<b d'>>2-)
     
[picture of music]

See also Slur .

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 It's 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]

BUGS

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

Go back to index of LilyPond.

Please send GNU LilyPond questions and comments to lilypond-user@gnu.org.

Please send comments on these web pages to (address unknown)

Copyright (c) 1997--2002 Han-Wen Nienhuys and Jan Nieuwenhuizen.

Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.


This page was built from LilyPond-1.7.14 (development-branch) by

Buchan Milne <(address unknown)>, Thu Mar 6 21:11:35 2003 CET.