Previous: Rests, Up: Pitches


6.1.10 Skips

An invisible rest (also called a ‘skip’) can be entered like a note with note name `s' or with \skip duration

     
     a4 a4 s4 a4 \skip 1 a4

[image of music]

The s syntax is only available in note mode and chord mode. In other situations, for example, when entering lyrics, you should use the \skip command

     
     <<
       \relative { a'2 a2 }
       \new Lyrics \lyricmode { \skip 2 bla2 }
     >>

[image of music]

The skip command is merely an empty musical placeholder. It does not produce any output, not even transparent output.

The s skip command does create Staff and Voice when necessary, similar to note and rest commands. For example, the following results in an empty staff.

     
     { s4 }

[image of music]

The fragment { \skip 4 } would produce an empty page.

See also

Program reference: SkipMusic.


Previous: Rests, Up: Pitches

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

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

Other languages: French.