1 %% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
2 %% This file is in the public domain.
6 lsrtags = "strings, template"
8 The \"String quartet template\" snippet produces a nice string quartet,
9 but what if you needed to print parts? This new template demonstrates
10 how to use the \\tag feature to easily split a piece into individual
13 You need to split this template into separate files; the filenames are
14 contained in comments at the beginning of each file. piece.ly contains
15 all the music definitions. The other files – score.ly, vn1.ly, vn2.ly,
16 vla.ly, and vlc.ly – produce the appropiate part.
19 Do not forget to remove specified comments when using separate files!
23 %%%%% (This is the global definitions file)
30 Violinone = \new Voice { \relative c''{
31 \set Staff.instrumentName = "Violin 1 "
35 \bar "|." }} %*********************************
36 Violintwo = \new Voice { \relative c''{
37 \set Staff.instrumentName = "Violin 2 "
41 \bar "|." }} %*********************************
42 Viola = \new Voice { \relative c' {
43 \set Staff.instrumentName = "Viola "
48 \bar "|." }} %*********************************
49 Cello = \new Voice { \relative c' {
50 \set Staff.instrumentName = "Cello "
55 \bar "|."}} %**********************************
59 \tag #'score \tag #'vn1 \new Staff { << \global \Violinone >> }
60 \tag #'score \tag #'vn2 \new Staff { << \global \Violintwo>> }
61 \tag #'score \tag #'vla \new Staff { << \global \Viola>> }
62 \tag #'score \tag #'vlc \new Staff { << \global \Cello>> }
66 %%% These are the other files you need to save on your computer
69 %%%%% (This is the main file)
72 %\include "piece.ly" %%% uncomment this line when using a separate file
73 #(set-global-staff-size 14)
75 \new StaffGroup \keepWithTag #'score \music
81 %{ Uncomment this block when using separate files
84 %%%%% (This is the Violin 1 part file)
88 \keepWithTag #'vn1 \music
94 %%%%% (This is the Violin 2 part file)
98 \keepWithTag #'vn2 \music
104 %%%%% (This is the Viola part file)
108 \keepWithTag #'vla \music
114 %%%%% (This is the Cello part file)
118 \keepWithTag #'vlc \music