Next: Including LilyPond files, Previous: Multiple scores in a book, Up: Input files
It is possible to quote small fragments of a large score directly from the output. This can be compared to clipping a piece of a paper score with scissors.
This is done by definining the measures that need to be cut out separately. For example, including the following definition
\layout { clip-regions = #(list (cons (make-rhythmic-location 5 1 2) (make-rhythmic-location 7 3 4))) }
will extract a fragment starting halfway the fifth measure, ending in
the seventh measure. The meaning of 5 1 2
is: after a 1/2 note
in measure 5, and 7 3 4
after 3 quarter notes in measure 7.
More clip regions can be defined by adding more pairs of rhythmic-locations to the list.
In order to use this feature, LilyPond must be invoked with
-dclip-systems
. The clips are output as EPS files, and are
converted to PDF and PNG if these formats are switched on as well.
For more information on output formats, see Invoking lilypond.
Examples: input/regression//clip-systems.ly
Next: Including LilyPond files, Previous: Multiple scores in a book, Up: Input files
This page is for LilyPond-2.10.33 (stable-branch).