-%% 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.14.2"
+% 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 = "really-simple, unfretted-strings, template"
+ lsrtags = "really-simple, template, unfretted-strings"
texidoc = "
This template demonstrates a simple string quartet. It also uses a
doctitle = "String quartet template (simple)"
} % begin verbatim
-
global= {
\time 4/4
\key c \major
-}
+} % begin verbatim
-violinOne = \new Voice \relative c'' {
- \set Staff.instrumentName = #"Violin 1 "
+violinOne = \new Voice \relative c'' {
c2 d
e1
-
\bar "|."
}
violinTwo = \new Voice \relative c'' {
- \set Staff.instrumentName = #"Violin 2 "
-
g2 f
e1
-
\bar "|."
}
viola = \new Voice \relative c' {
- \set Staff.instrumentName = #"Viola "
\clef alto
-
e2 d
c1
-
\bar "|."
}
cello = \new Voice \relative c' {
- \set Staff.instrumentName = #"Cello "
\clef bass
-
c2 b
a1
-
\bar "|."
}
\score {
\new StaffGroup <<
- \new Staff << \global \violinOne >>
- \new Staff << \global \violinTwo >>
- \new Staff << \global \viola >>
- \new Staff << \global \cello >>
+ \new Staff \with { instrumentName = "Violin 1" }
+ << \global \violinOne >>
+ \new Staff \with { instrumentName = "Violin 2" }
+ << \global \violinTwo >>
+ \new Staff \with { instrumentName = "Viola" }
+ << \global \viola >>
+ \new Staff \with { instrumentName = "Cello" }
+ << \global \cello >>
>>
\layout { }
\midi { }