Next: Polymetric notation, Previous: Upbeats, Up: Displaying rhythms
Bar lines and bar numbers are calculated automatically. For
unmetered music (some cadenzas, for example), this is not desirable.
To turn off automatic calculation of bar lines and bar numbers,
use the command \cadenzaOn
, and use \cadenzaOff
to turn them on again.
c4 d e d \cadenzaOn c4 c d8 d d f4 g4. \cadenzaOff \bar "|" d4 e d c
Bar numbering is resumed at the end of the cadenza as if the cadenza were not there:
% Show all bar numbers \override Score.BarNumber #'break-visibility = #all-visible c4 d e d \cadenzaOn c4 c d8 d d f4 g4. \cadenzaOff \bar "|" d4 e d c
\cadenzaOn
,
\cadenzaOff
.
Music Glossary: cadenza
Notation Reference: Visibility of objects
Snippets: Rhythms.
LilyPond will insert line breaks and page breaks only at a bar line. Unless the unmetered music ends before the end of the staff line, you will need to insert invisible bar lines with
\bar ""
to indicate where breaks can occur.
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.