Next: , Previous: Setting automatic beam behavior, Up: Beams


1.2.4.3 Manual beams

In some cases it may be necessary to override the automatic beaming algorithm. For example, the autobeamer will not put beams over rests or bar lines, and in choral scores the beaming is often set to follow the meter of the lyrics rather than the notes. Such beams can be specified manually by marking the begin and end point with [ and ]

     
     {
       r4 r8[ g' a r8] r8 g[ | a] r8
     }

[image of music]

Individual notes may be marked with \noBeam to prevent them from being beamed:

     
     \time 2/4 c8 c\noBeam c c

[image of music]

Even more strict manual control with the beams can be achieved by setting the properties stemLeftBeamCount and stemRightBeamCount. They specify the number of beams to draw on the left and right side, respectively, of the next note. If either property is set, its value will be used only once, and then it is erased. In this example, the last f is printed with only one beam on the left side, i.e., the eighth-note beam of the group as a whole.

TODO – no difference based on stemLeftBeamCount in this example

     
     {
       f8[ r16 f g a]
       f8[ r16
       \set stemLeftBeamCount = #1
       f g a]
     }

[image of music]

Selected Snippets

This page is for LilyPond-2.11.58 (development-branch).

Report errors to http://post.gmane.org/post.php?group=gmane.comp.gnu.lilypond.bugs.

Your suggestions for the documentation are welcome.

Other languages: français, español, deutsch.