]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/piano-template-simple.ly
Snippets: Replace \set Staff.instrumentName
[lilypond.git] / Documentation / snippets / piano-template-simple.ly
index b2728932e448485ebd93e1b3f6c6b01530a16359..8a921fcc976d7e03c70d2a46091feed6c279472a 100644 (file)
@@ -1,10 +1,11 @@
-%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.di.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.18.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 = "keyboards, really-simple, template"
@@ -22,7 +23,8 @@ upper = \relative c'' {
   \time 4/4
 
   a4 b c d
-}
+} % begin verbatim
+
 
 lower = \relative c {
   \clef bass
@@ -33,8 +35,8 @@ lower = \relative c {
 }
 
 \score {
-  \new PianoStaff <<
-    \set PianoStaff.instrumentName = #"Piano  "
+  \new PianoStaff \with { instrumentName = #"Piano" }
+  <<
     \new Staff = "upper" \upper
     \new Staff = "lower" \lower
   >>