Automatic and manual beams - GNU LilyPond
Description: GNU LilyPond

Next: Octave entry, Previous: Entering ties, Up: Tutorial

### 2.5 Automatic and manual beams

All beams are drawn automatically

>          a8 ais d es r d

If you do not like where beams are put, they can be entered by hand. Mark the first note to be beamed with ``[`' and the last one with ``]`'.

>          a8[ ais] d[ es r d]

For more information on beams, see Manual beams.

Here are key signatures, accidentals and ties in action

    \relative c'' {
      \time 4/4
      \key g \minor
      \clef treble
      r4 r8 a8 gis4 b
      a8 d4.~ d e,8
      fis4 fis8 fis8 eis4 a8 gis~
      gis2 r2
    }

There are some interesting points to note in this example. Bar lines and beams are drawn automatically. Line breaks are calculated automatically; it does not matter where the line breaks are in the source file. Finally, the order in which time, key, and clef changes are entered is not relevant: in the printout, these are ordered according to standard notation conventions.

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

Other languages: English.
Using automatic language selection.