-%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
-%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
-%% and then run scripts/auxiliar/makelsr.py
-%%
-%% This file is in the public domain.
-\version "2.16.0"
+% DO NOT EDIT this file manually; it is automatically
+% generated from Documentation/snippets/new
+% Make any changes in Documentation/snippets/new/
+% and then run scripts/auxiliar/makelsr.py
+%
+% This file is in the public domain.
+%% Note: this file works from version 2.19.56
+\version "2.19.56"
\header {
lsrtags = "preparing-parts, template, unfretted-strings"
doctitle = "String quartet template with separate parts"
} % begin verbatim
-
%%%%% piece.ly
%%%%% (This is the global definitions file)
global= {
\time 4/4
\key c \major
-}
+} % begin verbatim
-Violinone = \new Voice { \relative c''{
- \set Staff.instrumentName = #"Violin 1 "
- c2 d e1
-\bar "|." }} %*********************************
-Violintwo = \new Voice { \relative c''{
- \set Staff.instrumentName = #"Violin 2 "
+Violinone = \new Voice {
+ \relative c'' {
+ c2 d e1
+ \bar "|."
+ }
+}
- g2 f e1
-\bar "|." }} %*********************************
-Viola = \new Voice { \relative c' {
- \set Staff.instrumentName = #"Viola "
- \clef alto
+Violintwo = \new Voice {
+ \relative c'' {
+ g2 f e1
+ \bar "|."
+ }
+}
- e2 d c1
-\bar "|." }} %*********************************
-Cello = \new Voice { \relative c' {
- \set Staff.instrumentName = #"Cello "
- \clef bass
+Viola = \new Voice {
+ \relative c' {
+ \clef alto
+ e2 d c1
+ \bar "|."
+ }
+}
- c2 b a1
-\bar "|."}} %**********************************
+Cello = \new Voice {
+ \relative c' {
+ \clef bass
+ c2 b a1
+ \bar "|."
+ }
+}
+
music = {
<<
- \tag #'score \tag #'vn1 \new Staff { << \global \Violinone >> }
- \tag #'score \tag #'vn2 \new Staff { << \global \Violintwo>> }
- \tag #'score \tag #'vla \new Staff { << \global \Viola>> }
- \tag #'score \tag #'vlc \new Staff { << \global \Cello>> }
+ \tag #'score \tag #'vn1
+ \new Staff \with { instrumentName = "Violin 1" }
+ << \global \Violinone >>
+
+ \tag #'score \tag #'vn2
+ \new Staff \with { instrumentName = "Violin 2" }
+ << \global \Violintwo>>
+
+ \tag #'score \tag #'vla
+ \new Staff \with { instrumentName = "Viola" }
+ << \global \Viola>>
+
+ \tag #'score \tag #'vlc
+ \new Staff \with { instrumentName = "Cello" }
+ << \global \Cello >>
>>
}
-%%% These are the other files you need to save on your computer
+% These are the other files you need to save on your computer
-%%%%% score.ly
-%%%%% (This is the main file)
+% score.ly
+% (This is the main file)
-%%% uncomment the line below when using a separate file
+% uncomment the line below when using a separate file
%\include "piece.ly"
+
#(set-global-staff-size 14)
+
\score {
\new StaffGroup \keepWithTag #'score \music
\layout { }
%{ Uncomment this block when using separate files
-%%%%% vn1.ly
-%%%%% (This is the Violin 1 part file)
+% vn1.ly
+% (This is the Violin 1 part file)
\include "piece.ly"
\score {
}
-%%%%% vn2.ly
-%%%%% (This is the Violin 2 part file)
+% vn2.ly
+% (This is the Violin 2 part file)
\include "piece.ly"
\score {
}
-%%%%% vla.ly
-%%%%% (This is the Viola part file)
+% vla.ly
+% (This is the Viola part file)
\include "piece.ly"
\score {
}
-%%%%% vlc.ly
-%%%%% (This is the Cello part file)
+% vlc.ly
+% (This is the Cello part file)
\include "piece.ly"
\score {