Clip systems: Difference between revisions
 Import snippet from LSR  | 
				 Remove output  | 
				||
| Line 1: | Line 1: | ||
This code shows how to clip (extract) snippets from a full score.  | This code shows how to clip (extract) snippets from a full score.  | ||
This file needs to be run separately with <code>-dclip-systems</code>; the   | This file needs to be run separately with <code>-dclip-systems</code>; the output cannot be shown on this Wiki due to technical limitations. The result will be files named ''<code>base</code>''<code>-from-</code>''<code>start</code>''<code>-to-</code>''<code>end</code>''<code>[-</code>''<code>count</code>''<code>].eps</code>.  | ||
If system starts and ends are included, they include extents of the System grob, e.g., instrument names.  | If system starts and ends are included, they include extents of the System grob, e.g., instrument names.  | ||
| Line 9: | Line 9: | ||
Regions can span multiple systems. In this case, multiple EPS files are generated.  | Regions can span multiple systems. In this case, multiple EPS files are generated.  | ||
<  | <pre>  | ||
\version "2.24.0"  | |||
#(ly:set-option 'clip-systems)  | #(ly:set-option 'clip-systems)  | ||
#(ly:set-option 'separate-page-formats 'ps)  | #(ly:set-option 'separate-page-formats 'ps)  | ||
| Line 71: | Line 73: | ||
   }  |    }  | ||
}  | }  | ||
</  | </pre>  | ||
[[Category:Paper and layout]]  | [[Category:Paper and layout]]  | ||
[[Category:Included in the official documentation]]  | [[Category:Included in the official documentation]]  | ||