String quartet template with separate parts: Difference between revisions

mNo edit summary
mNo edit summary
 
Line 1: Line 1:
The [[String quartet template (simple)]] snippet produces a nice string quartet, but what if you needed to print parts? This new template demonstrates how to use the <code>\tag</code> feature to easily split a piece into individual parts.
The [[String quartet template (simple)]] snippet produces a nice string quartet, but what if you need to print parts? This new template demonstrates how to use the <code>\tag</code> feature to easily split a piece into individual parts.


For technical reasons, this Wiki cannot display multiple files for a single snippet, which means that the template shown unifies the code for separate files; the file names are contained in comments at the beginning of each file.
For technical reasons, multiple output files cannot be shown here for a single snippet, which means that the template below unifies the code for separate files. The file names are contained in comments at the beginning of each file.


<code>piece.ly</code> contains all the music definitions. The other files – <code>score.ly</code>, <code>vn1.ly</code>, <code>vn2.ly</code>, <code>vla.ly</code>, and <code>vlc.ly</code> – produce the full score and the four parts.
<code>piece.ly</code> contains all the music definitions. The other files – <code>score.ly</code>, <code>vn1.ly</code>, <code>vn2.ly</code>, <code>vla.ly</code>, and <code>vlc.ly</code> – produce the full score and the four parts.